Page 1 of 1

Windows SNMP Monitoring using SNMPv3

Posted: Tue Jan 19, 2016 5:32 am
by adeel.aziz
Hi there :),

I am trying to configure Windows SNMP Monitoring Wizard. I am using SNMPv3 to monitor my system. For that, I have installed Net-SNMP on my Windows 7 machine where I have the following configurations:

snmpd.conf
==========

engineID 0x1020304050607080
createUser -e 0x1020304050607080 adlrw001 SHA "auth1234" AES "priv5678"
rwuser adlrw001 priv
disableAuthorization no
authcommunity log,execute,net adlrw001
authuser log,execute,net adlrw001

snmptrapd.conf
==============

engineID 0x1020304050607080
createUser -e 0x1020304050607080 adlrw001 SHA "auth1234" AES "priv5678"
rwuser adlrw001 priv
disableAuthorization no
authcommunity log,execute,net adlrw001
authuser log,execute,net adlrw001

I have done the above configuration because I also need to send SNMPv3 traps to the Nagios XI machine. I have been able to do that successfully by having the above configuration EXACTLY in Nagios XI machine's snmpd.conf and snmptrapd.conf files. As you can see the configuration uses authPriv authentication type having both SHA and AES enabled.

Now I want to configure Nagios XI to monitor my machine using SNMPv3 authPriv with SHA and AES. But when I run the wizard, it does not give me option to specify Privilege Protocol and the monitoring is not working. Ping to my machine is OK but when I open the CPU usage Service Status Details page, it gives me following error:

ERROR opening session: Received usmStatsUnknownUserNames.0 Report-PDU with value 1 during synchronization.

Am I missing something in configuration? Can anybody help me in this. Thanks.


Adeel Aziz.

Re: Windows SNMP Monitoring using SNMPv3

Posted: Tue Jan 19, 2016 10:43 am
by hsmith
What version of Nagios XI are you running?

Re: Windows SNMP Monitoring using SNMPv3

Posted: Wed Jan 20, 2016 12:27 am
by adeel.aziz
I am using 5.2.3 (that's what it says in the status bar).

FYI: I tried to update it but it failed.

Re: Windows SNMP Monitoring using SNMPv3

Posted: Wed Jan 20, 2016 10:24 am
by hsmith
5.2.3 is the latest. When you say the update failed, can you provide a log or screenshot?

Re: Windows SNMP Monitoring using SNMPv3

Posted: Wed Jan 20, 2016 10:32 am
by rkennedy
Also, when you say -

Code: Select all

I have done the above configuration because I also need to send SNMPv3 traps to the Nagios XI machine. I have been able to do that successfully by having the above configuration EXACTLY in Nagios XI machine's snmpd.conf and snmptrapd.conf files. As you can see the configuration uses authPriv authentication type having both SHA and AES enabled.
Are you able to get a result over the command line then? Once you run through the wizard, you can use the core config manager to change the full command that specific service will use.