Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
SNMP Community Patches - Nagios 2.x
163596
File | Description |
---|---|
nagios-snmp-community.patch | nagios snmp community patch for nagios 2.0b4 |
nagios-2.0rc2-snmpcommunity.patch | Nagios 2.0RC2 - SNMP Community patch - fixed |
nagios-2.3-snmpcommunity.patch | SNMP Patch for Nagios 2.3 |
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!
To use this patch, add to your hosts definitions the variable community with the SNMP community of the host:
define host{
use Template
host_name XXXX
alias XXXX
address XXXX
hostgroups XXXX
community public
}
The community is read by nagios on startup and is copied into the env variable SNMPCOMMUNITY to be used into the checks definition.
So the check definition can be:
$USER1$/check-mysnmp -C $SNMPCOMMUNITY$ -H $HOSTADDRESS$
and on each call of the plugin the right snmp community is used for the check execution.
A warning is generated on the nagios execution if the community is not set for a particular host.
The patch has been tested on nagios 2.0b4 and has to been applied to the nagios sources with patch -p0
define host{
use Template
host_name XXXX
alias XXXX
address XXXX
hostgroups XXXX
community public
}
The community is read by nagios on startup and is copied into the env variable SNMPCOMMUNITY to be used into the checks definition.
So the check definition can be:
$USER1$/check-mysnmp -C $SNMPCOMMUNITY$ -H $HOSTADDRESS$
and on each call of the plugin the right snmp community is used for the check execution.
A warning is generated on the nagios execution if the community is not set for a particular host.
The patch has been tested on nagios 2.0b4 and has to been applied to the nagios sources with patch -p0
Reviews (0)
Be the first to review this listing!