Unknown error while adding v3 devices with switch wizards

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sarfarosh
Posts: 212
Joined: Fri Oct 05, 2012 3:56 am

Unknown error while adding v3 devices with switch wizards

Post by sarfarosh »

Dear Team

We are trying to monitor Cisco Nexus Switches using SNMP V3 protocol using wizards with authNoPriv security.

while we are adding the device Wizard successfully list & add the ports, but after apply config there is error
"UNKNOWN - No info is being retrieved."
after doing bit R&D i noticed that while adding wizard add -x ' ' -X ' ' flag to the command with blank value even though security level is authNoPriv,

Code: Select all

[root@s1-mgmt-nxi-002 tmp]# /usr/local/nagios/libexec/check_ifoperstatnag 436230656 -v3 -u 'nagios-admin' -A 'ZAQ123edc' -x '' -X '' -a 'SHA' -l 'authNoPriv' 10.128.255.13
Invalid privacy protocol specified after -x flag: -X
USAGE: snmpget [OPTIONS] AGENT OID [OID]...
and if we remove the -x ' ' -X ' ' manually it works fine

Code: Select all

[root@s1-mgmt-nxi-002 tmp]# /usr/local/nagios/libexec/check_ifoperstatnag 436230656 -v3 -u 'nagios-admin' -A 'ZAQ123edc'  -a 'SHA' -l 'authNoPriv' 10.128.255.13
OK - Interface Ethernet1/46 (index 436230656) is up.

We have to monitor Around 110 such devices, for which we can't edit each & every services manually for every interface, kindly help with workaround or bug fix for this.
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9183
Joined: Thu Oct 30, 2014 9:02 am

Re: Unknown error while adding v3 devices with switch wizard

Post by tgriep »

Make sure you are running the latest Wizard by going to the Admin > Manage Config Wizards menu and clicking on the check for updates button.
If there is a newer version, install it on the server as there were some changes to the latest wizard that should fix the issue.
Be sure to check out our Knowledgebase for helpful articles and solutions!
sarfarosh
Posts: 212
Joined: Fri Oct 05, 2012 3:56 am

Re: Unknown error while adding v3 devices with switch wizard

Post by sarfarosh »

Hi ,

This is the fresh install so i assume it to have the latest version of wizard, just to confirm it has 2.5.0 installed see screen-shot attached.

Is this a known bug ?
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9183
Joined: Thu Oct 30, 2014 9:02 am

Re: Unknown error while adding v3 devices with switch wizard

Post by tgriep »

I was able to recreate the issue and yes, it is a bug.
I'll put in a bug fix to get this looked at and fixed.
To see if the wizard is updated, go to the Admin > Manage Config Wizards menu and clicking on the check for updates button.
If you see a new version, update it and try it again.
Be sure to check out our Knowledgebase for helpful articles and solutions!
sarfarosh
Posts: 212
Joined: Fri Oct 05, 2012 3:56 am

Re: Unknown error while adding v3 devices with switch wizard

Post by sarfarosh »

Just to add it, one more thing that i noticed today is that if we do bulk adding of host with network/switch wizards by pasting csv, all the devices added have command service name for the interfaces.
User avatar
tgriep
Madmin
Posts: 9183
Joined: Thu Oct 30, 2014 9:02 am

Re: Unknown error while adding v3 devices with switch wizard

Post by tgriep »

Are the devices you are adding using the Bulk add, are they all the same device with the same number of ports, etc?
The bulk add assumes the devices are the same so it can add them to the system.
Be sure to check out our Knowledgebase for helpful articles and solutions!
sarfarosh
Posts: 212
Joined: Fri Oct 05, 2012 3:56 am

Re: Unknown error while adding v3 devices with switch wizard

Post by sarfarosh »

Yeah Devices are same Model with same set of ports enabled & connected, been a fail-over switch they are similar to one, but port description are different of the ports of both switch to identify.
So even if The bulk add assumes the devices are the same, it should take the actual port description as service description in nagiosxi
User avatar
tgriep
Madmin
Posts: 9183
Joined: Thu Oct 30, 2014 9:02 am

Re: Unknown error while adding v3 devices with switch wizard

Post by tgriep »

What the wizard does it to poll the data from the device that is entered in the top of the Wizard and then directly create the Host and Services in the bulk section without polling the devices in the bulk section to get the data.

It does not get the description details for the devices in the bulk section.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked