This Repository contains useful check-scripts for Nagios.
This script checks if there is any service listening on a specified port of the local machine.
It uses a combination of the Linux commands netstat, sed and grep to do that.
This way the script can be used out of the box, but only on Linux.
Use it with the parameter -h or --help to get usage- and parameter information.
This script checks if the local machine has access to the internet.
It sends an HTTP request to google.com.
Use it with the parameter -h or --help to get usage- and parameter information.
This script checks the status of a printer, using SNMP.
To do this, it uses the commands snmpwalk and snmpget. So these commands have to be installed.
Version 0.2 can only test the amount of consumables, which usually means ink cartridges.
It has been tested with HP printers, but should also work with printers made by other manufacturers.