SNMPv3 port status not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
paltel
Posts: 64
Joined: Wed Jul 22, 2015 3:47 am

SNMPv3 port status not working

Post by paltel »

Hello ,

I used network switch/router to add cisco 2811 device , all services with port status return "UNKNOWN - No info is being retrieved." ,, bandwidth services are ok .
I tried to update the wizards and did not work also .

lets take fastethernet 0/0 as example :

Bandwidth command generated by wizard :

$USER1$/check_rrdtraf -f /var/lib/mrtg/$ARG1$ -w $ARG2$ -c $ARG3$ -l $ARG4$
$ARG1$ : 172.17.3.166_1.rrd
$ARG2$ : 50.00,50.00
$ARG3$ : 80.00,80.00
$ARG4$ : M




for port status ( which is not working ) :

$USER1$/check_ifoperstatnag $ARG1$ $ARG2$ $HOSTADDRESS$
$ARG1$ : 1
$ARG2$ : -v3 -u Nagios-USER -A "***HIDDEN****" -x AES -X "***HIDDEN****" -a SHA -l authPriv

attached screenshot of device status .

appreciate to help me because I was not able to add any cisco device to nagios yet .

Thanks
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: SNMPv3 port status not working

Post by ssax »

Do those passwords contain any special characters? If they do, try surrounding them in single quotes instead of double quotes and let us know the result.

Thank you
paltel
Posts: 64
Joined: Wed Jul 22, 2015 3:47 am

Re: SNMPv3 port status not working

Post by paltel »

Hello ,

Thanks for reply , and yes it worked after changing to single quotes as passwords contain special characters .

if this is a bug , please raise it to dev team to fix in next patch . for now I will use passwords without special characters to overcome this issue .

Thanks again
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: SNMPv3 port status not working

Post by hsmith »

paltel wrote:yes it worked after changing to single quote
paltel wrote:for now I will use passwords without special characters to overcome this issue

Couldn't you just keep using the same passwords, but using single quotes instead? I don't really think this is a bug as much as it is just how single quotes vs double quotes works.

This Stack Overflow post expands on what I am talking about above a bit.

Are we all right to close this one since you have it working?
Former Nagios Employee.
me.
paltel
Posts: 64
Joined: Wed Jul 22, 2015 3:47 am

Re: SNMPv3 port status not working

Post by paltel »

The wizard generated double quotes and it's difficult to edit each service manually as I will run the same wizard hundreds of times .

For now you can close this case
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: SNMPv3 port status not working

Post by hsmith »

Thanks for the clarification. I'll consult the developers and see what they have to say regarding this.
Former Nagios Employee.
me.
Locked