Yes, there is an agent/daemon running.scottwilkerson wrote:BanditBBS is correct.
Have you installed an agent on the machine you are trying to monitor?
Reporting correct partition free space of linux OS
Re: Reporting correct partition free space of linux OS
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Reporting correct partition free space of linux OS
Can you send the nrpe.cfg from the remote machine
Re: Reporting correct partition free space of linux OS
Code: Select all
log_facility=daemon
pid_file=/var/run/nrpe2.pid
server_port=5666
server_address=10.1.1.254
nrpe_user=nagios
nrpe_group=nagios
allowed_hosts=10.1.1.4
dont_blame_nrpe=0
debug=0
command_timeout=60
connection_timeout=300
command[check_users]=/usr/local/libexec/nagios/check_users -w 3 -c 2
command[check_load]=/usr/local/libexec/nagios/check_load -w 15,10,5 -c 30,25,20
command[check_root]=/usr/local/libexec/nagios/check_disk -w 20 -c 10 /
command[check_var]=/usr/local/libexec/nagios/check_disk -w 20 -c 10 /var
command[check_zombie_procs]=/usr/local/libexec/nagios/check_procs -w 5 -c 10 -s Z
command[check_total_procs]=/usr/local/libexec/nagios/check_procs -w 150 -c 200
command[check_ping]=/usr/local/libexec/nagios/check_ping -w -c
command[check_usr]=/usr/local/libexec/nagios/check_disk -w 20 -c 10 /usr
command[check_http]=/usr/local/libexec/nagios/check_http -w 3 -c 5 -S -p 10443-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Reporting correct partition free space of linux OS
So you would call the command from your XI machine like so assuming your were connecting to 10.1.1.254
to check /usr you would use
the revevent portion of the nrpe config is this part, the command name is between [ and ]
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H 10.1.1.254 -t 30 -c check_var Code: Select all
/usr/local/nagios/libexec/check_nrpe -H 10.1.1.254 -t 30 -c check_usr Code: Select all
command[check_users]=/usr/local/libexec/nagios/check_users -w 3 -c 2
command[check_load]=/usr/local/libexec/nagios/check_load -w 15,10,5 -c 30,25,20
command[check_root]=/usr/local/libexec/nagios/check_disk -w 20 -c 10 /
command[check_var]=/usr/local/libexec/nagios/check_disk -w 20 -c 10 /var
command[check_zombie_procs]=/usr/local/libexec/nagios/check_procs -w 5 -c 10 -s Z
command[check_total_procs]=/usr/local/libexec/nagios/check_procs -w 150 -c 200
command[check_ping]=/usr/local/libexec/nagios/check_ping -w -c
command[check_usr]=/usr/local/libexec/nagios/check_disk -w 20 -c 10 /usr
command[check_http]=/usr/local/libexec/nagios/check_http -w 3 -c 5 -S -p 10443Re: Reporting correct partition free space of linux OS
Thank you! That's it. You rock.
Have a good Thanksgiving!
Have a good Thanksgiving!