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

check_libraesva

Rating
0 votes
Favoured:
0
Last Release Date
2018-12-05
Compatible With
  • Nagios 3.x
  • Nagios 4.x
Owner
License
GPL
Hits
219
Files:
FileDescription
check_libraesva.pycheck_libraesva.py
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
check_libraesva
check_libraesva.py - perform snmp query on Libra Esva antispam appliance
NAME
check_libraesva.py - perform snmp query on Libra Esva antispam appliance

APPLICATION REQUIREMENTS
Python pysnmp library

USAGE
check_libraesva.py -H ipaddress -C community -t test -w threshold -c threshold

REQUIRED ARGUMENTS
-H Ip Address
-C SNMP community
-T Type of test
-w Warning threshold
-c Critical threshold

EXAMPLES
check_libraesva.py -H x.x.x.x -C snmp -t info -w 0 -c 0

Test:
# Numer of mail in state "Bounced"
./check_libresva.py -H x.x.x.x -C esva -w 300 -c 500 -t bounced
# Numer of mail in state "Rejected"
./check_libresva.py -H x.x.x.x -C esva -w 300 -c 500 -t rejected
# Numer of mail in state "Spam"
./check_libresva.py -H x.x.x.x -C esva -w 250 -c 300 -t spam
# Numer of mail in state "Virus"
./check_libresva.py -H x.x.x.x -C esva -w 300 -c 400 -t virus
# Numer of mail in state "Sent"
./check_libresva.py -H x.x.x.x -C esva -w 300 -c 400 -t sent
# Free space of the "SWAP" partition
./check_libresva.py -H x.x.x.x -C esva -w 90 -c 95 -t swap
# Free space of the "VAR" partition
./check_libresva.py -H x.x.x.x -C esva -w 90 -c 95 -t var
# Network traffic on eth0 Ingoing
./check_libresva.py -H x.x.x.x -C esva -w 10 -c 15 -t netin
# Network traffic on eth0 Outgoing
./check_libresva.py -H x.x.x.x -C esva -w 10 -c 15 -t netout
# Average cpu load last 15 minutes
./check_libresva.py -H x.x.x.x -C esva -w 5 -c 7 -t load
# Message queue Ingoing
./check_libresva.py -H x.x.x.x -C esva -w 100 -c 150 -t queuein
# Message queue Outgoing
./check_libresva.py -H x.x.x.x -C esva -w 100 -c 150 -t queueout
# Memory usage
./check_libresva.py -H x.x.x.x -C esva -w 80 -c 90 -t mem
# Show information of appliance
./check_libresva.py -H x.x.x.x -C esva -w 0 -c 1 -t info


example Command configuration:

#############
# LIBRAESVA #
#############

define command{
command_name check_libraesva
command_line $USER1$/check_libraesva.py -H $HOSTADDRESS$ -C $ARG1$ -t $ARG2$ -w $ARG3$ -c $ARG4$
}