This support forum board is for support questions relating to
Nagios XI, our flagship commercial network monitoring solution.
-
fsodah
- Posts: 295
- Joined: Thu Sep 12, 2019 1:19 am
Post
by fsodah »
How can i use check_open_files.pl on the client since both running nrpe? what should be written the in nrpe config file?
on the client always it gave OK
Code: Select all
root@db2:~# /usr/local/nagios/libexec/check_open_files.pl -w 10 -c 20
OK: 1600 open files (0% of max 1632202)|opened_files=1600;163220;326440
-
lmiltchev
- Bugs find me
- Posts: 13589
- Joined: Mon May 23, 2011 12:15 pm
Post
by lmiltchev »
You could add the following directive in the nrpe.cfg file on the client:
Code: Select all
command[check_open_files]=/usr/local/nagios/libexec/check_open_files.pl $ARG1$
then run check_nrpe on the Nagios XI server as such:
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H <client ip address> -c check_open_files -a '-w 10 -c 20'
Be sure to check out our
Knowledgebase for helpful articles and solutions!
-
fsodah
- Posts: 295
- Joined: Thu Sep 12, 2019 1:19 am
Post
by fsodah »
Let me try it tomorrow and i ll get back to you asap.
-
lmiltchev
- Bugs find me
- Posts: 13589
- Joined: Mon May 23, 2011 12:15 pm
Post
by lmiltchev »
Sure, let us know if you have any further questions.
Be sure to check out our
Knowledgebase for helpful articles and solutions!
-
fsodah
- Posts: 295
- Joined: Thu Sep 12, 2019 1:19 am
Post
by fsodah »
it works ... please close the ticket
-
lmiltchev
- Bugs find me
- Posts: 13589
- Joined: Mon May 23, 2011 12:15 pm
Post
by lmiltchev »
I am glad I was able to help!

Be sure to check out our
Knowledgebase for helpful articles and solutions!