check_ifoperstatnag not pushing host data into check

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
cfgriffith
Posts: 83
Joined: Tue Jan 15, 2013 4:22 pm

Re: check_ifoperstatnag not pushing host data into check

Post by cfgriffith »

Nope didn't seem to fix it.

It didn't auto-escape the special charterers in the password.

-v3 -u <Omitted> -A <Omitted> -x AES -X <Omitted> -a SHA -l authPriv



One I made:

-v 3 -l authPriv -u <Omitted> -x aes -X <Omitted> -a sha -A <Omitted>


Let me try while pre entering the escape charterers in the password field.
cfgriffith
Posts: 83
Joined: Tue Jan 15, 2013 4:22 pm

Re: check_ifoperstatnag not pushing host data into check

Post by cfgriffith »

Now the walk to identify the ports for the Bandwidth and Port Status selection section of the wizard won't work. That worked before when I wasn't entering the escape characters for the passwords though, so that implies the it does enter them for the walk but not for the final configuration put into Core.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: check_ifoperstatnag not pushing host data into check

Post by lmiltchev »

What special charterers do you have in the password? We are going to test this in house.
Be sure to check out our Knowledgebase for helpful articles and solutions!
cfgriffith
Posts: 83
Joined: Tue Jan 15, 2013 4:22 pm

Re: check_ifoperstatnag not pushing host data into check

Post by cfgriffith »

}]|;*\~

Mixture of both in both the Auth and Priv passwd. When I manually escape them in CCM after the wizard finishes it works. If I try to put the escaped version into the wizard the interface walk fails.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: check_ifoperstatnag not pushing host data into check

Post by tgriep »

I ran the Network Switch / Router Monitoring Wizard against a Cisco ASA5505 which is setup using SNMP V3 and I set the Authentication and Encryption password to }]|;*\~p and It failed.
It looks like if the password is in double quotes, it seems to work from the command line and also if the command is edited in Xi after the fact.
I'll open up a bug report.
Be sure to check out our Knowledgebase for helpful articles and solutions!
cfgriffith
Posts: 83
Joined: Tue Jan 15, 2013 4:22 pm

Re: check_ifoperstatnag not pushing host data into check

Post by cfgriffith »

Thanks, is there a way I can get notified when a new revision comes out? If I put the password in quotations in the wizard's field will it work or will the snmp walk fail like it did with the escape characters?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: check_ifoperstatnag not pushing host data into check

Post by tgriep »

I tried putting the quotes in the wizard, didn't work. It tries to use them as part of the password.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: check_ifoperstatnag not pushing host data into check

Post by tgriep »

Here is the updated Network Switch / Router Wizard version 2.1.8.
It fixes the most of the Special Characters problem and it saves the password in double quotes so you do not have to escape the characters.

But, the only thing that could not be fixed is that you cannot use a ; or a ! in the password.

Try it out and let us know if it works for you.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
cfgriffith
Posts: 83
Joined: Tue Jan 15, 2013 4:22 pm

Re: check_ifoperstatnag not pushing host data into check

Post by cfgriffith »

Thanks. This will help a lot.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: check_ifoperstatnag not pushing host data into check

Post by tgriep »

No problem.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked