Code: Select all
root@eeepc:/usr/lib/nagios/plugins# ./check_ping -H www.machielsen.net -w 200,50% -c 500,100%
PING OK - Packet loss = 0%, RTA = 48.79 ms|rta=48.789001ms;200.000000;500.000000;0.000000 pl=0%;50;100;0Code: Select all
root@eeepc:/usr/lib/nagios/plugins# ./check_ping -H www.machielsen.net -w 200,50% -c 500,100%
PING OK - Packet loss = 0%, RTA = 48.79 ms|rta=48.789001ms;200.000000;500.000000;0.000000 pl=0%;50;100;0Code: Select all
################################################################################
# HOST CHECK COMMANDS
################################################################################
# On Debian, check-host-alive is being defined from within the
# nagios-plugins-basic packageCode: Select all
ton@eeepc:/usr/lib/nagios/plugins$ ./check_host -H www.machielsen.net
OK - www.machielsen.net responds to ICMP. Packet 1, rta 48.110ms|pkt=1;;0;5 rta=48.110;1000.000;1000.000;;Code: Select all
check-host-aliveCode: Select all
check-hostCode: Select all
ton@eeepc:~$ dpkg -s nagios-plugins-basic
Package: nagios-plugins-basic
Status: install ok installed
Priority: extra
Section: net
Installed-Size: 1916
Maintainer: Ubuntu Developers <[email protected]>
Architecture: i386
Source: nagios-plugins
Version: 1.4.15-5ubuntu3
Replaces: nagios-plugins, nagios-plugins-extra (<= 1.3.1.0), nagios-plugins-standard
Depends: libc6 (>= 2.8), libssl1.0.0 (>= 1.0.0), procps, iputils-ping, ucf
Suggests: nagios3
Conflicts: nagios-plugins (<= 1.4.2-3), nagios-plugins-extra (<= 1.3.1.0)
Description: Plugins for nagios compatible monitoring systems
Plugins for nagios compatible monitoring systems like Nagios and Icinga. It
contains the following plugins:
.
check_apt, check_by_ssh, check_clamd, check_cluster,
check_dhcp, check_disk, check_dummy, check_file_age,
check_ftp, check_host, check_http, check_icmp,
check_ide_smart, check_imap, check_ircd, check_jabber,
check_load, check_log, check_mrtg, check_mrtgtraf,
check_nagios, check_nntp, check_nntps, check_nt,
check_ntp, check_ntp_peer, check_ntp_time, check_nwstat,
check_overcr, check_ping, check_pop, check_procs,
check_real, check_rta_multi, check_sensors, check_simap,
check_smtp, check_spop, check_ssh, check_ssmtp,
check_swap, check_tcp, check_time, check_udp,
check_ups, check_users
.
This package provides a basic set of plugins with minimal external
dependencies. It is not likely to be useful by itself unless you are
using a remote "satellite" system (using nagios-nrpe-server, check_by_ssh or
nsca, for example).
Homepage: http://nagiosplug.sourceforge.net
Original-Maintainer: Debian Nagios Maintainer Group <[email protected]>Ok, will do. However, why is it that not all websites give me the same error then?abrist wrote:Nagios will still require that the check-host-alive be defined in a cfg *somewhere*. This is the command definition we want to see.
Code: Select all
define command{
command_name check_host_alive
command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1
}