-
Re: How to add custom OID poller in SAM server. Udp not present.
d09hFeb 2, 2018 7:52 AM (in response to rajasekar)
If you have SAM licensed and know the OID you want to poll, you should be able to do this: http://www.solarwinds.com/documentation/en/flarehelp/sam/content/sam-snmp-monitor-sw3302.htm
The process will look like this, but the OID you identify should be substituted in step 7. If you don't know the OID, vendor documentation or SNMPwalk should be able to get you there:
Monitor SNMP using SAM - SolarWinds Worldwide, LLC. Help and Support
HomeServer & Application Monitor (SAM)Monitor SNMP using SAM
Monitor SNMP using SAMUpdated: August 15, 2016
Overview
In some scenarios, the SNMP Agent on a monitored system may stop respond. As a result, the elements being monitored will no longer get updated and their status may preserve the last known response or be changed to "unknown". The latter is often not part of Trigger Conditions within Alerts. This article provides a method to monitor this more vigilantly using SAM's SNMP Monitor.Environment
- All versions of SAM
Steps
Create the template:
1. Go to Settings > All Settings > SAM Settings > Manage Templates.
2. Click CREATE NEW TEMPLATE.
3. Name the template SNMP Monitor.
4. Click ADD COMPONENT MONITORS.
5. Search for SNMP.
6. Select SNMP Monitor and click ADD.
7. For the Monitor's Object Identifier (OID): value, enter the following:
1.3.6.1.2.1.1.3.08. Click Submit.
9. On the APPLICATION MONITOR TEMPLATES tab, search for SNMP.
10. Select the SNMP Monitor template and click ASSIGN TO NODE.
11. Assign this to the desired Nodes.
Note: This template should only be assigned to Nodes that use a Polling Method of "ICMP and SNMP".
-
Re: How to add custom OID poller in SAM server. Udp not present.
d09hFeb 2, 2018 8:09 AM (in response to d09h)
You also have some options here: http://www.net-snmp.org/wiki/index.php/Tut:Extending_snmpd_using_shell_scripts
In a previous job I custom polled a private MIB created by a UNIX admin. The shell script on the back end would return an integer. Something like 1 for OK and 2 for warning and three for down. Essentially return whatever you want via shell script. When the involved MIB is queried, the shell script will run and return a value. You can do the computation in your shell script or via some fancy SQL/ SWQL.
Your script *MIGHT* look something like this:
vmstat -v | grep "percentage of memory used for computational pages" | awk '{ print $1 }'
dW:AIX and UNIX:AIX Forum:Computational Memory Calculation - AIX Forum Forum
-
Re: How to add custom OID poller in SAM server. Udp not present.
d09hFeb 2, 2018 8:14 AM (in response to rajasekar)
If you determine an OID that you want to poll, you don't necessarily have to consider this a SAM solution. NPM universal device poller can be created instead. One advantage of doing in SAM is ease in showing up/down/warning icons tied to specified ranges.
-
Re: How to add custom OID poller in SAM server. Udp not present.
rajasekar Feb 2, 2018 8:54 AM (in response to rajasekar)Thanks for the command. I need to split and monitor the computational memory and NON Computational according to that i need to set the alerts.