[CentOS] adapting perl check_snmp_load script for CentOS environment

Rogelio

scubacuda at gmail.com
Tue Feb 5 05:17:12 UTC 2008


I'm trying to use some perl scripts on a CentOS box (Nagios03) that were
previously working on a Gentoo (Nagios01) box.

Any ideas on what I might to do try to resolve this?

WORKS ON GENTOO

nagios01 new # ./check_snmp_load.pl -H
myserver.mydomain.com<http://ha-vpn-internal.clacorp.com> -C
myPublicString -w 50,50,50 -c 75,75,75 -T nsc -t 15 -f
CPU : 3 3 3 : OK | cpu_5_sec=3%;50;75,cpu_1_min=3%;50;75,cpu_5_min=3%;50;75
nagios01 new #


DOES NOT WORK ON CENTOS

[root at nagios03 plugins]#  ./check_snmp_load.pl -H
myserver.mydomain.com<http://ha-vpn-internal.clacorp.com/> -C
myPublicString -w 50,50,50 -c 75,75,75 -T nsc -t 15 -f
Unknown option: T
Multiple warning without -L or -I switch
Usage: ./check_snmp_load.pl [-v] -H <host> -C <snmp_community> | (-l login
-x passwd)  [-p <port>] -w <warn level> -c <crit level> [-L|-A|-I|N] [-f]
[-t <timeout>] [-V]
[root at nagios03 plugins]#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080204/2f33f408/attachment.html>


More information about the CentOS mailing list