Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
tgriep wrote:You will need to edit the resource.cfg file and change the $USER3$ option to the community string you have setup on the remote system. Save the file and restart nagios and that should fix the issue for you.
I modified the sting in resource.cfg from $USER3$=someuser to $USER3$=my-own-SNMP-community but nothing has changed.
Then I decided to check the standard services (check_disk - Root Partition, check_load - Current Load), but I got a strange result:
There are a lot errors above, like on the screenshot.
But I donwload snmp by command:
apt-get install snmp-mibs-downloader
and when I run command again I get:
Run the command below from the Nagios server but replace COMMUNITY with the SNMP community string you have setup on the remote server.
Also, replace xxx.xxx.xxx.xxx with the IP address of the remote server.
What the plugin does is to connect to the remote server using SNMP to retrieve the information and that isn't happening.
Lets try a simpler snmpwalk command and see if we get any response from the remote server.
Run this from the Nagios server and post the output here.