Skip to content

This Repository contains useful check-scripts for Nagios

License

Notifications You must be signed in to change notification settings

mbrehmer/nagios-tests

Repository files navigation

nagios-tests

This Repository contains useful check-scripts for Nagios.

check_port_listener

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.

check_internet_access

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.

check_printer

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.

About

This Repository contains useful check-scripts for Nagios

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages