Home Directory Plugins System Metrics Others Check Overall System Health

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 Overall System Health

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2012-05-30
Compatible With
  • Nagios 3.x
  • Nagios XI
License
GPL
Hits
61741
Files:
FileDescription
system_checkThe plugin

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting ethangalstad.me/nagios. Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

Nagios plugin to check the overall health of a system. Uses SSH to connect to remote server,
requires that passwordless login is enabled (SSH Key authentication).
Checks the following:
- 15 minute load (warning or critical)
- Swap useage (warning or critical)
- All locally mounted partitions useage % (warning or critical)
- RAM useage % (warn only)
- CPU useage % (just a "nice to know", no warnings)

Tested on Ubuntu 11.10, 10.04 and Debian 6 running Python 2.7.2+

Note: if you're getting an error about unable to change to float, your hostname may be wrong.

Example command definition:

# system_check command, see /usr/lib/nagios/plugins/system_check
# for more information.
define command {
command_name system_check
command_line /usr/lib/nagios/plugins/system_check -H $HOSTADDRESS$ -U $ARG1$ -l $ARG2$ -L $ARG3$ -d $ARG4$ -D $ARG5$ -r $ARG6$ -s $ARG7$ -S $ARG8$
}

Example service definition:

define service {
use generic-nograph-service
hostgroup_name mongo-servers
service_description System Check
check_command system_check!mongoadmin!8.00!10.00!80!95!95!102400!204800
}