Search found 5 matches

by Norshok
Fri Aug 11, 2017 5:15 am
Forum: Nagios XI
Topic: check_snmp_int create MIN/MAX perfdata values in Bits Mode
Replies: 3
Views: 1384

Re: check_snmp_int create MIN/MAX perfdata values in Bits Mo

That's right i checked the OIDs to find out that those values are generated by the device itself : iso.3.6.1.2.1.2.2.1.5.2 = Gauge32: 1000000000 iso.3.6.1.2.1.2.2.1.5.3 = Gauge32: 100000000 i guess the solution would be to edit the check_snmp_int.pl Perl script In order to disable the ckecking of th...
by Norshok
Fri Aug 11, 2017 5:05 am
Forum: Nagios XI
Topic: Having Mb/s values in perfdata of check_snmp_int.pl command
Replies: 5
Views: 1294

Re: Having Mb/s values in perfdata of check_snmp_int.pl comm

Yes, thanks again for the help :)
by Norshok
Wed Aug 09, 2017 6:18 pm
Forum: Nagios XI
Topic: check_snmp_int create MIN/MAX perfdata values in Bits Mode
Replies: 3
Views: 1384

check_snmp_int create MIN/MAX perfdata values in Bits Mode

Hello, When i use the command check_snmp_int.pl i get the output as expected and the perfdata but now i get "0;1000000000" in the perfdata values which i did not ask for. and appear to be Minimum and maximum values in my nagios graphs. the graph now goes from 0 to 1Gb/s scale. it's too big...
by Norshok
Wed Aug 09, 2017 6:05 pm
Forum: Nagios XI
Topic: Having Mb/s values in perfdata of check_snmp_int.pl command
Replies: 5
Views: 1294

Re: Having Mb/s values in perfdata of check_snmp_int.pl comm

Alright, It worked $perf_out .= sprintf("%.0f",($checkperf_out_raw[0] * 8)/1024/1024) .";"; $perf_out .= ($o_warn[0]!=0) ? $o_warn[0]*$warn_factor . ";" : ";"; $perf_out .= ($o_crit[0]!=0) ? $o_crit[0]*$warn_factor . ";" : ";"; $perf_out .=...
by Norshok
Mon Aug 07, 2017 7:51 am
Forum: Nagios XI
Topic: Having Mb/s values in perfdata of check_snmp_int.pl command
Replies: 5
Views: 1294

Having Mb/s values in perfdata of check_snmp_int.pl command

Hello I'm on Nagios XI, i used the Vmware .ova to get the install done I am using the command below to get the actual bandwidth that go through the interfaces of a router /usr/local/nagios/libexec/check_snmp_int.pl -H x.x.x.x -C community -2 -n eth -f -k -w 1000,1000 -c 1200,1200 eth0:UP (552.9KBps/...