|
Using ipMonitor's SNMP - QA Monitor and the NET-SNMP Daemon, Administrators can monitor a specified process on a Unix-based Operating System. |
The SNMP - QA Monitor can be configured in various ways to monitor:
|
|
|
Net-SNMP is a suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both Internet Protocol (IP) version 4 and Internet Protocol (IP) version 6. | |
|
Net-SNMP is available for many Unix and Unix-like operating systems and also for Microsoft Windows.
Detailed information on downloading and configuring the Net-SNMP daemon is available from the Net-SNMP website. |
||
Before configuring SNMP - QA Monitors to implement the examples outlined in this tutorial, the Net-SNMP daemon must be installed and configured on each machine being monitored.
Important! You must add the PROC directive to your snmpd.conf file.
The PROC directive increases the indexed OID values. For every PROC directive entered, the OID index value will increment by one (1). Once changes to the configuration file have been made, the Net-SNMP Daemon may have to be restarted.
Directive:
PROC <process name>
Examples:
PROC sshd
PROC syslogd
PROC httpd
Note: You may need to include the complete path of the process being monitored.
For detailed information on adding the PROC directive to the configuration file, refer to the following Net-SNMP resources:
http://net-snmp.sourceforge.net/docs/man/snmpd.conf.html
http://net-snmp.sourceforge.net/docs/man/snmp_config.html
|
|
Click the XML icon to download resources designed to be used with this tutorial. The XML file includes six preconfigured Monitors, as well as a predefined Group for the Monitors. |
|
|
To incorporate the Cisco MIBs described in this article into your ipMonitor installation, access the SNMP MIB Database Builder located within the ipMonitor Support Portal. Note: Custom databases are only available to registered customers. You must log in to access this section. 1. Expand the Enterprise branch, and place a checkmark beside NetSNMP. 2. Click the Construct MIB Database button located at the bottom of the page. Shortly after selecting your custom MIBs for creation, you will receive an email indicating that your database is ready for download. This email will contain a link to your personalized SNMP MIB database. Additionally, each visit to the Support Portal home page will also contain the link to your most recently created database. |
|
|
Click the PDF icon to open a printable PDF version of this tutorial. It includes all the information found here, including images from the ipMonitor software, diagrams, and links to additional resources. |
Monitor 1
| Monitor Name | NET-SNMP Daemon :: Number Processes [sshd - Index 1] |
| Monitor Type | SNMP - QA Monitor |
| SNMP Object Type | prCount.1 |
| OID | 1.3.6.1.4.1.2021.2.1.5.1 |
| Returns | The number of processes currently running of the defined type. |
| Monitoring Condition | Pass if greater than or equal to 1 Monitor failure indicates that no processes of the defined type are currently running. |
Monitor 2
| Monitor Name | NET-SNMP Daemon :: Number Processes [syslogd - Index 2] |
| Monitor Type | SNMP - QA Monitor |
| SNMP Object Type | prCount.2 |
| OID | 1.3.6.1.4.1.2021.2.1.5.2 |
| Returns | The number of processes currently running of the defined type. |
| Monitoring Condition | Pass if greater than or equal to 1 Monitor failure indicates that no processes of the defined type are currently running. |
Monitor 3
| Monitor Name | NET-SNMP Daemon :: Number Processes [httpd - Index 3] |
| Monitor Type | SNMP - QA Monitor |
| SNMP Object Type | prCount.3 |
| OID | 1.3.6.1.4.1.2021.2.1.5.3 |
| Returns | The number of processes currently running of the defined type. |
| Monitoring Condition | Pass if greater than or equal to 1 Monitor failure indicates that no processes of the defined type are currently running. |
Monitor 4
| Monitor Name | NET-SNMP Daemon :: Process Status [sshd - Index 1] |
| Monitor Type | SNMP - QA Monitor |
| SNMP Object Type | prErrorFlag.1 |
| OID | 1.3.6.1.4.1.2021.2.1.100.1 |
| Returns | The process status value. |
| Monitoring Condition | Pass if equal to 0 Monitor failure (returned result = 1) indicates that the process is not functioning as expected. |
Monitor 5
| Monitor Name | NET-SNMP Daemon :: Process Status [syslogd - Index 2] |
| Monitor Type | SNMP - QA Monitor |
| SNMP Object Type | prErrorFlag.2 |
| OID | 1.3.6.1.4.1.2021.2.1.100.2 |
| Returns | The process status value. |
| Monitoring Condition | Pass if equal to 0 Monitor failure (returned result = 1) indicates that the process is not functioning as expected. |
Monitor 6
| Monitor Name | NET-SNMP Daemon :: Process Status [httpd - Index 3] |
| Monitor Type | SNMP - QA Monitor |
| SNMP Object Type | prErrorFlag.3 |
| OID | 1.3.6.1.4.1.2021.2.1.100.3 |
| Returns | The process status value. |
| Monitoring Condition | Pass if equal to 0 Monitor failure (returned result = 1) indicates that the process is not functioning as expected. |
Note: All imported Monitors are initially disabled. This allows you to make changes to the default settings before the Monitors are enabled to go live in a production environment. Once the Monitors are imported, the following settings will need to be verified (and if necessary, modified) for each Monitor:
To learn more about modifying the above parameters, please refer to the 'Configuring the SNMP - QA Monitor' section of this tutorial.
|
TIP For detailed instructions regarding importing XML files into your ipMonitor installation, please refer to the tutorial entitled "How to Import and Export Configuration Settings". |
For the purposes of this tutorial, we'll be referring to the preconfigured Monitors included in the XML resource download. Alternatively, you can create a new Monitor by clicking the Monitors menu option and then selecting Add a Monitor. Choose the SNMP - QA Monitor from the Multi-Transaction / QA category.


The following example uses the Analysis of Test Results settings configured for the NET-SNMP Daemon :: Process Status [sshd - Index 1] Monitor provided in the XML resource download.

The type of data supported by the selected OID determines the possible methods of analysis using the SNMP - QA Monitor.

|
TIP By default, the Timing Intervals for each parameter are set to 300 seconds. If needed, adjust these defaults to meet your specific monitoring environment's requirements until the optimum settings are reached. |
For more information regarding the SNMP - QA Monitor, refer to the Monitors section of ipMonitor's Context-Sensitive Help system, and then select Monitor Types, followed by SNMP - QA. The Context-Sensitive Help can be accessed by clicking the Help link located in the top right corner of ipMonitor's Administration web interface.
For information on other features and concepts related to those discussed in this article, refer to the following ipMonitor resources:
< Back
![]()
Last Updated: April 11, 2006 | What did you think of this topic?