I have tried setting up Nagios on Ubuntu 10.10, successfully installed and can login to web interface, I am however stuck on configuring snmp or I am doing something wrong here, i have followed various sites / nagios wiki to setup configuration (cfg) files.
When I check on the web interface, it gives the following error on one of my cisco router:
Current Status: UNKNOWN (for 0d 2h 55m 56s) Status Information:
SNMP problem - No data received from host
CMD: /usr/bin/snmpget -t 1 -r 5 -m RFC1213-MIB -v 1 [authpriv] 192.168.1.1:161
On the command-line itself, when I type the following, it just sits there waiting and waiting :
sudo /usr/local/nagios/libexec/check_snmp -H 192.168.1.1 -C Routers -o sysUpTime.0
When I type the following command : I get an OK
/usr/bin/snmpget -v1 192.168.1.1:161 22.214.171.124.126.96.36.199.0 -c "Routers"
I have configured SNMP properly on our cisco device as we can collect SNMP Data via two other monitoring tool (SolarWinds and Manage Engine), we are tempted towards Nagios as its opensource.
Will be grateful if someone could assist in rectifying this situation and guide me with setting up nagios to monitor Cisco Routers, Switches and a Few Servers.
We want to monitor Bandwidth, cpu utilization, uptime and other necessary counters.