I've been going back to some of my Windows hosts to add new services that I wanted to monitor and found out this week that when I run the Windows SNMP configuration wizard I keep getting the following message and no services are detected:
warning
The wizard detected that this server does not have snmpwalk permission on the target host.
This will prevent the automatic scan 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::hrStorageDescr\", \"SNMPv2-SMI::enterprises.77.1.2.3.1.1\" and \"HOST-RESOURCES-MIB::hrSWRunName\"
However if I add the service manually via core config manager then it resolves just fine:
[nagios@nagios ~]$ /usr/local/nagios/libexec/check_snmp_win.pl -H x.x.x.x -C public --v2c -r -n 'Elastic Agent'
1 services active (named "Elastic Agent") : OK
As well if I run via command line I do get all the services described:
[root@nagios ~]# /usr/local/nagios/libexec/check_snmp_win.pl -H x.x.x.x -C public --v2c -r -n -vvv
no timeout defined : 5
actual max octets:: 1472
new max octets:: 15000
Filter :
Desc : VMware Tools
Desc : Power
Desc : DNS Client
Desc : Netlogon
...
Desc : Elastic Agent
etc....
Not sure how else I should troubleshoot this issue?
Let me know,
Thank you
Windows SNMP wizard snmpwalk permission issue
Re: Windows SNMP wizard snmpwalk permission issue
Hi @scuit,
Have you taken a look at the target host to make sure that the mentioned OIDs in the error message exist? The Windows SNMP wizard does a walk of the target host looking for those specific OIDs and returns that error if they aren't found, which the CCM does not do as part of manually adding checks.
Have you taken a look at the target host to make sure that the mentioned OIDs in the error message exist? The Windows SNMP wizard does a walk of the target host looking for those specific OIDs and returns that error if they aren't found, which the CCM does not do as part of manually adding checks.