how to configure nrpe.cfg
Posted: Tue May 20, 2014 2:44 am
Hello,
i have installed the Nagios Monitoring system on RHEL 6.4. the remote host where i have insalled the NRPE plugin and addon,
now i want to add services Like ping,ssh,http,disk space in "/usr/local/nagios/etc/nrpe.cfg" please guide with exmple.
below mention current content of "/usr/local/nagios/etc/nrpe.cfg" file.
command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20
command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/hda1
command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z
command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200
command[check_users]=/usr/local/nagios/libexec/check_ssh -w $ARG1$ -c $ARG2$
Please help me.
i have installed the Nagios Monitoring system on RHEL 6.4. the remote host where i have insalled the NRPE plugin and addon,
now i want to add services Like ping,ssh,http,disk space in "/usr/local/nagios/etc/nrpe.cfg" please guide with exmple.
below mention current content of "/usr/local/nagios/etc/nrpe.cfg" file.
command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20
command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/hda1
command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z
command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200
command[check_users]=/usr/local/nagios/libexec/check_ssh -w $ARG1$ -c $ARG2$
Please help me.