Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Nagios snmp checks using PHP
154760
File | Description |
---|---|
get_snmp.php | SNMP checks v1.2.1 |
get_snmp.php.gz | SNMP checks v1.2.2 |
get_snmp-1.6.php.gz | SNMP checks v1.6 |
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!
I started using the other SNMP plugins developed in Perl or C, but when our project reached more than 150 snmp checks the system resources lowered until 43% (CPU idle) in a PIII.
I tried to made this plugin in PHP using the snmp lib and the results where absolutly grateful (the 43% CPU idle grow up 88% in a PIII).
Current version (v1.6) allow to:
- new full test feature for CISCO and compatible OID servers. With one check you will have the status of all interfaces (admin and oper status), CPU usage and MEM usage.
- new CPU usage check
- new MEM usage check
And...
Ifaces and traffic
- get the number of interfaces
- check the operational status of one interface
- get the current input thoughput of one interface (in bps)
- get the current output thoughput of one interface (in bps)
- get the bandwidth of one interface (in bps)
- get the current bandwidth usage of one interface (in %)
- get
SAI
- (Merlin gerin) Battery charge level (in %)
The plugin allow parameters like warning and critical values to return a different exit status.
Its developed to run under Nagios, and exit codes are the standard exit codes.
Future releases migth allow more checks.
Requirements:
- php4-cli
- php4-snmp
I hope its useful for someone else, and any suggestions are welcome:
tiochan@remove-this-taggmail.com
I tried to made this plugin in PHP using the snmp lib and the results where absolutly grateful (the 43% CPU idle grow up 88% in a PIII).
Current version (v1.6) allow to:
- new full test feature for CISCO and compatible OID servers. With one check you will have the status of all interfaces (admin and oper status), CPU usage and MEM usage.
- new CPU usage check
- new MEM usage check
And...
Ifaces and traffic
- get the number of interfaces
- check the operational status of one interface
- get the current input thoughput of one interface (in bps)
- get the current output thoughput of one interface (in bps)
- get the bandwidth of one interface (in bps)
- get the current bandwidth usage of one interface (in %)
- get
SAI
- (Merlin gerin) Battery charge level (in %)
The plugin allow parameters like warning and critical values to return a different exit status.
Its developed to run under Nagios, and exit codes are the standard exit codes.
Future releases migth allow more checks.
Requirements:
- php4-cli
- php4-snmp
I hope its useful for someone else, and any suggestions are welcome:
tiochan@remove-this-taggmail.com
Reviews (0)
Be the first to review this listing!