router / switch wizard SNMPv3

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
b2m
Posts: 71
Joined: Tue Jun 11, 2013 9:18 am

Re: router / switch wizard SNMPv3

Post by b2m »

I believe we are talking about different things.

The result of the interface state checks looks like that with the new version:

Code: Select all

OK - Interface 10124 is up.
It would be great if you could change the check_ifoperstatnag so that it shows:

Code: Select all

OK - Interface Gig0/24 (index 10124) is up.
With Gig0/24 is the port-identifier given by snmpget IF-MIB::ifDescr.ifindex.

We already had that in the wizard of 2012 version. Could you add this one or two lines to the script, please? I would do it by myself but it's hard for me to understand the bash syntax.

Thanks a lot.
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: router / switch wizard SNMPv3

Post by jomann »

I'm sorry I didn't understand the first time. Checking with v2c it worked and showed:

Code: Select all

OK - Interface eth1 (index 2) is up.
However, when trying with v3 you are right. Our plugin for version 3 does not grab the interface name. I've made a couple small changes to the plugin to grab the interface name.

I've attached a v2.0.5 of the switch wizard for you to use.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
costanza2k1
Posts: 197
Joined: Fri Aug 09, 2013 12:19 pm

Re: router / switch wizard SNMPv3

Post by costanza2k1 »

jomann wrote:I'm sorry I didn't understand the first time. Checking with v2c it worked and showed:

Code: Select all

OK - Interface eth1 (index 2) is up.
However, when trying with v3 you are right. Our plugin for version 3 does not grab the interface name. I've made a couple small changes to the plugin to grab the interface name.

I've attached a v2.0.5 of the switch wizard for you to use.

Trying this update myself, will report back.
User avatar
costanza2k1
Posts: 197
Joined: Fri Aug 09, 2013 12:19 pm

Re: router / switch wizard SNMPv3

Post by costanza2k1 »

costanza2k1 wrote:
jomann wrote:I'm sorry I didn't understand the first time. Checking with v2c it worked and showed:

Code: Select all

OK - Interface eth1 (index 2) is up.
However, when trying with v3 you are right. Our plugin for version 3 does not grab the interface name. I've made a couple small changes to the plugin to grab the interface name.

I've attached a v2.0.5 of the switch wizard for you to use.

Trying this update myself, will report back.
pow! back in action! Thank you so much!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: router / switch wizard SNMPv3

Post by tmcdonald »

costanza2k1 wrote:pow! back in action! Thank you so much!
Bam! Waiting for b2m to apply the fix now before we close this up. Thank you jomann for the fix.
Image
Former Nagios employee
b2m
Posts: 71
Joined: Tue Jun 11, 2013 9:18 am

Re: router / switch wizard SNMPv3

Post by b2m »

costanza2k1 wrote:
costanza2k1 wrote:
jomann wrote:I'm sorry I didn't understand the first time. Checking with v2c it worked and showed:

Code: Select all

OK - Interface eth1 (index 2) is up.
However, when trying with v3 you are right. Our plugin for version 3 does not grab the interface name. I've made a couple small changes to the plugin to grab the interface name.

I've attached a v2.0.5 of the switch wizard for you to use.

Trying this update myself, will report back.
pow! back in action! Thank you so much!
Thanks you from me, as well. I'll test your new version as soon as possible.
User avatar
costanza2k1
Posts: 197
Joined: Fri Aug 09, 2013 12:19 pm

Re: router / switch wizard SNMPv3

Post by costanza2k1 »

tmcdonald wrote:
costanza2k1 wrote:pow! back in action! Thank you so much!
Bam! Waiting for b2m to apply the fix now before we close this up. Thank you jomann for the fix.
Image
Thanks again all!

Image
dfmco
Posts: 257
Joined: Wed Dec 04, 2013 11:05 am

Re: router / switch wizard SNMPv3

Post by dfmco »

That fixed it for me as well! Wizard works fine again.
Locked