Home Directory Plugins Others check_visa.sh

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_visa.sh

Rating
0 votes
Favoured:
0
Current Version
1.0
Compatible With
  • Nagios 3.x
License
GPL
Hits
494
Files:
FileDescription
check_visa.shcheck_visa.sh
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This check was written as a spoof for a colleague who was working remotely in a slightly dodgy country. It bases the validity of the visa solely on the load of the system running the Nagios check, it does not of course, actually check a visa status.

You will probably have to alter the load thresholds for your system.
Command Definition

define command {
command_name check_visa
command_line /usr/lib/nagios/plugins/check_visa.sh'$HOSTADDRESS$'
}

Service Definition

Ensure notifications_enabled is set to zero to suppress email notifications for this :-}

define service {
use generic-service
host_name VisaHost-dummy
service_description Check Visa
check_command check_visa
notifications_enabled 0
}