check_snmpv3.pl

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
yolo_techy
Posts: 2
Joined: Tue Nov 17, 2020 9:34 am

check_snmpv3.pl

Post by yolo_techy »

I am looking for a check snmp value perl scritp for snmpv3 similar to the below one for snmpv2.

https://exchange.nagios.org/directory/P ... pl/details

I did a google search but couldnt find one. I am not strong with perl but if someone can share or point be in the direct of a script I can dissect for my needs, it will be much appreciated.

Thanks
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: check_snmpv3.pl

Post by gormank »

Why not try the standard check_snmp, which has v3 options?
yolo_techy
Posts: 2
Joined: Tue Nov 17, 2020 9:34 am

Re: check_snmpv3.pl

Post by yolo_techy »

Hi Gormank

Thanks for your reply. The information you have provided was helpful. I ran the check_snmp against a device to check the memory utilisation. The device has about 12gig of memory and is currently using 6gig. The check_snmp has returned the below data, which is about 6gig. Are there any options on the command_line that can convert the below to 6gig rather than 6452080640.

SNMP OK - 6452080640 | iso.3.6.1.4.1.9.9.221.1.1.1.1.18.13.1=6452080640c

Thanks
Locked