I have added a couple of wizards for checking the Nagios servers locally and remote.
1) Nagiostats Wizard
2) Nagios XI Server
For all the checks I keep getting the following error:
[STDERR][EC 127]/bin/sh: /usr/local/nagios/libexec/php: No such file or directory
However, I can execute any of the checks manually and from the DNX logs, the checks are actually working?
/usr/local/nagios/libexec/php: No such file or directory
/usr/local/nagios/libexec/php: No such file or directory
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: /usr/local/nagios/libexec/php: No such file or directory
Do you DNX machines have php installed?
Re: /usr/local/nagios/libexec/php: No such file or directory
Yes. Actually, the DNX part is working. From the logs the checks are going through successfully. Also I can manually execute the check on any client without a problem. My guess is the results data is not being handle appropriately back on the Master?
Re: /usr/local/nagios/libexec/php: No such file or directory
Where exactly do you see this error? Can you post a screenshot?For all the checks I keep getting the following error:
[STDERR][EC 127]/bin/sh: /usr/local/nagios/libexec/php: No such file or directory
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: /usr/local/nagios/libexec/php: No such file or directory
I found the fix right after reading your reply. I could not believe it could be that simple but I added the php command in the indicated directory and the problem cleared. Since you asked for the screen shot here it is. They had almost cleared before I captured it. Thanks again...Marcus
You do not have the required permissions to view the files attached to this post.
Re: /usr/local/nagios/libexec/php: No such file or directory
I'm glad your problem got resolved!
Be sure to check out our Knowledgebase for helpful articles and solutions!