Search found 5 matches

by bkavpro
Mon Dec 30, 2019 11:24 pm
Forum: Open Source Nagios Projects
Topic: [Help] Fix NRPE: Command 'check_swap' not defined
Replies: 9
Views: 4613

Re: [Help] Fix NRPE: Command 'check_swap' not defined

Ok, you were making edits to /etc/nagios/nrpe.cfg but NRPE is running under xinetd using /usr/local/nagios/etc/nrpe.cfg Maike your changes in /usr/local/nagios/etc/nrpe.cfg then restart xinetd Hi scottwilkerson, Thank you so much, that way to fix my problem. But now I have new problem: 2 server can...
by bkavpro
Sun Dec 29, 2019 9:10 pm
Forum: Open Source Nagios Projects
Topic: [Help] Fix NRPE: Command 'check_swap' not defined
Replies: 9
Views: 4613

Re: [Help] Fix NRPE: Command 'check_swap' not defined

Ok, so let's look at the following and see what the location of the nrpe.cfg the xinetd process is using for nrpe cat /etc/xinetd.d/nrpe Yes, This is my config : [root@test-1 ~]# cat /etc/xinetd.d/nrpe # default: on # description: NRPE (Nagios Remote Plugin Executor) service nrpe { flags = REUSE so...
by bkavpro
Thu Dec 26, 2019 8:46 pm
Forum: Open Source Nagios Projects
Topic: [Help] Fix NRPE: Command 'check_swap' not defined
Replies: 9
Views: 4613

Re: [Help] Fix NRPE: Command 'check_swap' not defined

scottwilkerson wrote:Can you show the output of the following on a server that isn't working
netstat -nlp|grep 5666
Hi scottwilkerson, port 5666 still listen by xinetd

Code: Select all

[root@test-1 ~]# netstat -nlp|grep 5666
tcp        0      0 :::5666                     :::*                        LISTEN      28257/xinetd
by bkavpro
Sun Dec 22, 2019 8:37 pm
Forum: Open Source Nagios Projects
Topic: [Help] Fix NRPE: Command 'check_swap' not defined
Replies: 9
Views: 4613

Re: [Help] Fix NRPE: Command 'check_swap' not defined

On one of the servers that isn't working can you show the output of the following ps -ef|grep nrpe Hi scottwilkerson, This is output : [root@test-1 ~]# ps -ef|grep nrpe root 2378 2360 0 01:34 pts/0 00:00:00 grep --color=auto nrpe I also check other server and output same , Thanks,
by bkavpro
Thu Dec 19, 2019 11:34 pm
Forum: Open Source Nagios Projects
Topic: [Help] Fix NRPE: Command 'check_swap' not defined
Replies: 9
Views: 4613

[Help] Fix NRPE: Command 'check_swap' not defined

Hi everyone, I'm sorry for my bad english. My problem: I have 5 server linux, I already install "nagios-plugins-all nagios-plugins-nrpe nrpe" and config nagios on /etc/nagios/nrpe.cfg command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 command[check_load]=/usr/lib64/nagio...