Plugins, addons, sites and other great stuff for Nagios:
Good plugin for check CPU:
To make it work you need to install some Perl modules:
cpan -i Nagios::Plugin Getopt:Compact
I usually use this plugin with the fillowing parametres:
$USER1$/check_nrpe -H $HOSTADDRESS$ -c check_cpu -a -w 50 -c 80
Another plugin for checking CPU is check_cpu.sh.
It is more accurate because it produces two CPU checks, using -i (interval) option. When there is only one check, false aletrts may happen. For example, if one program occupies 100% of CPU for 2 seconds and exactly at this time Nagios checks CPU, critical alert would be sent.
Memory plugin, that I usually use:
Send SMS with gammu
~/.gammurc
[gammu]
port = /dev/ttyUSB0
model = connection = at19200
synchronizetime = yes
logfile =
logformat = nothing
use_locking =
gammuloc =
gammu sendsms text 07874454543
No comments:
Post a Comment