Home Directory Plugins Network Protocols SNMP snmp math multiply add

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me
Don't miss your chance to attend the 2014 Nagios World conference!

Don't miss your chance to attend the 2014 Nagios World Conference, Oct 13-16th. Informative Sessions, Networking, Food and Cocktails! Visit go.nagios.com/conference/ for more information or to register.


snmp math multiply add

Bookmark and Share

Rating
0 votes
Favoured:
0
Compatible With
  • Nagios 3.x
Hits
125695
Files:
FileDescription
check_snmp_math.plcheck_snmp_math.pl
This is a simple net-snmp perl script which allow you to do multiplication and addition on return data and the presents the result in nagios.
Usage: check_snmp_math.pl -H [-C ] [-p ] [-P ] [-o ] [-u ] [-w ] [-c ]

-?, --usage
Print usage information
-h, --help
Print detailed help screen
-V, --version
Print version information
--extra-opts=[[@]]
Section and/or config_file from which to load extra options (may repeat)
-H, --hostname=HOSTNAME
Hostname to query
-H, --hostname=IP
IP address to query
-C, --community_string=COMMUNITY
community string for snmp_querry
-p, --port=port
port number for snmp_querry
-P, --protocol=protocol
snmp protocol
-o, --oid=oid
oid string
-u, --unit=unit
unit string
-f, --function=mul
function string
-a, --argument=argument
function string
-w, --warning=BYTES
Exit with WARNING status if less than BYTES bytes of disk are free
-w, --warning=PERCENT%
Exit with WARNING status if less than PERCENT of disk is free
-c, --critical=BYTES
Exit with CRITICAL status if less than BYTES bytes of disk are free
-c, --critical=PERCENT%
Exit with CRITICAL status if less than PERCENT of disk is free
-t, --timeout=INTEGER
Seconds before plugin times out (default: 15)
-v, --verbose
Show details for command-line debugging (can repeat up to 3 times)