snmp network
SNMP Network 6.1-1
Description
Monitors any network device using SNMP. A set of services issues an SNMP GET command to get interface operational status (ifoperstatus), interface input and output utilization, and interface in/out and error/discard statistics for interface 1. This profile can be extended to monitor additional interfaces or other SNMP parameters.
Profile Package
This package includes the following files:
Profile definitions: host-profile-snmp-network.xml and service-profile-snmp-network.xml
Plugin scripts (installed on the GroundWork server): check_snmp and check_ifoperstatus
Discovery script for Network Interfaces: discover_snmp_if.pl
Installation
GroundWork Monitor includes many monitoring profiles for a variety of devices, systems and applications. Some profiles are pre-imported on a new GroundWork installation and others are distributed with the product. The configuration tool is used to import updated profiles and profiles that require additional setup, services can also be imported, see Importing Profiles.
Implementation Notes
- Execute the script discover_snmp_if.pl (list of network device IP addresses, space separated).
- Copy the output file discover_snmp_if.out to the import directory, which is typically: /usr/local/groundwork/import/csv/
- Log on to GroundWork Monitor as an Administrator, select Profile Tools, then Import.
- Select the Host Profile host_profile_snmp_network from the drop-down box.
- Select the import CSV file: discover_snmp_if.out
- Select Show Services and follow the procedures on the new page to import the file into Configuration (Configuration).
If this device has multiple interfaces you can use the following steps to define additional interfaces on a device:
- Select Services from the Configuration menu options.
- Create new Services for snmp_if and snmp_bandwidth for each interface (i.e. snmp_if_2, snmp_if_3,...).
- Modify the Check Command arguments to reference the interface number.
- Save each Service, and go to Profiles where you will add the Services and re-apply the Service Profile to the Host using the Apply tab.
Services Configuration
For plugin details you can run the service help command from within the nagios container. For example: Get to the nagios container from the gw8
directory: docker-compose exec -u 1000 nagios bash
, then to the libexec directory: cd /usr/local/nagios/libexec
, and enter a service help command e.g., ./check_snmp --help
to receive help content.
Service/Command Line/Plugin Command | Command Parameters |
---|---|
This column lists the Service Definition name, Service Command name with arguments to be passed to the plugin, and the Plugin Command line which is the plugin script called by Nagios for the service. | Command parameters are in the configuration services section with the following names and default values. |
| Check status of remote machines and obtain system information via SNMP.No arguments. |
|
|
|
|
|
|
| Check for uptime as a dependency for SNMP access.
|
|
|
Related Resources
-
Page:
-
Page:
-
Page:
-
Page:
-
Page: