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

Directory Tree

check_visa.sh

Rating
0 votes
Favoured:
0
Current Version
1.0
Compatible With
  • Nagios 3.x
License
GPL
Hits
3627
Files:
FileDescription
check_visa.shcheck_visa.sh
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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
}