Page 1 of 1

Nagiosxi and snmpwalk permission on the target host : error

Posted: Tue May 03, 2016 4:55 am
by alokispandey
"The wizard detected that this server does not have snmpwalk permission on the target host. This will prevent auto population of services and processes and prevent services from running successfully, but you can continue with the wizard manually. To troubleshoot this ensure that these OIDs are available on the target host: "HOST-RESOURCES-MIB::hrSWRunName" and "HOST-RESOURCES-MIB::hrFSMountPoint"."

Below is my snmpd.conf

Code: Select all

sysdescr        Sun SNMP Agent, Sun-Blade-100
syscontact      System administrator
sysLocation     System administrators office
system-group-read-community     public
read-community  public
trap 192.168.165.162
trap-community public
trap-community  SNMP-trap
trap localhost
managers        localhost
Any idea how to fix it.

COnfiguration from working node:( snmpd.conf)
Below one is working..

Code: Select all

sysdescr        Sun SNMP Agent,
syscontact      System administrator
sysLocation     System administrators office
system-group-read-community     public
read-community  public
trap            localhost
trap-community  SNMP-trap
managers        localhost
OS Solaris 10 8/07 s10s_u4wos_12b SPARC

Please help..!

Re: Nagiosxi and snmpwalk permission on the target host : er

Posted: Tue May 03, 2016 9:44 am
by rkennedy
From the CLI of Nagios, what is the output of a SNMP walk?

Code: Select all

snmpwalk -v 2c -c public <ipofmachine>
(replace <ipofmachine> with the IP of the machine you're attempting to use in the wizard)

Re: Nagiosxi and snmpwalk permission on the target host : er

Posted: Tue May 24, 2016 11:21 pm
by thrivikramr
Even we have a same problem after upgrading Nagios to latest 5.2.7.

We are able to snmpwalk to systems using SNMP community string. We have complex system environment, we use custom security settings for SNMP. We cannot simply use rocommunity to configure SNMP.

SNMP config settings:
com2sec readonly x.x.x.x public - wizard seems to be working, currently being tested to confirm it.
com2sec paranoid x.x.x.x public - wizard not working
com2sec custom_sec x.x.x.x public - wizard not working

Re: Nagiosxi and snmpwalk permission on the target host : er

Posted: Wed May 25, 2016 3:18 pm
by tgriep
You may want to look at the .acl files in this folder on the Solaris server

Code: Select all

/etc/snmp/conf
Those files provide access to who / what can poll the SNMP daemon on the server.