Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_snmp_int_by_addr
147923
File | Description |
---|---|
SQL-Structure-for_check_snmp_by_int.sql | MySQL Structure for Caching Tables |
check_snmp_int_by_addr.pl | The Perlscript |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
This little Perl Plugin, feeded with a hostaddress, snmp community, Sub-Interface IP and the expected return Value, looks into a MySQL DB via Perl::DBI, searching for a caching entry and the stored SNMP Interface ID. After cache lookup it connects via snmpget to the host, asks for the SNMP ID for that SubIF IP Address and the OperStatus.
If the DB stored SNMP ID is different from the real SNMP ID it exits with a Warning and update the MySQL DB with the right SNMP ID.
The Last Argument is the expected value: 1 = OperStatus up 2 = Operstatus down.
Adminstrators with MEP will love the expect, cause the can say that it is Nagios-ok that an Interface is SNMP-DOWN.
Testet with:
UCD-snmp version: 4.2.3
NET-SNMP version: 5.1
If the DB stored SNMP ID is different from the real SNMP ID it exits with a Warning and update the MySQL DB with the right SNMP ID.
The Last Argument is the expected value: 1 = OperStatus up 2 = Operstatus down.
Adminstrators with MEP will love the expect, cause the can say that it is Nagios-ok that an Interface is SNMP-DOWN.
Testet with:
UCD-snmp version: 4.2.3
NET-SNMP version: 5.1
Reviews (0)
Be the first to review this listing!