Thanks for your questions and suggestions. We got Nagios running the script! (There was a typo in a lib path
Search found 3 matches
- Mon Jul 07, 2014 9:31 am
- Forum: Open Source Nagios Projects
- Topic: Different result in web interface and command line
- Replies: 5
- Views: 4591
Re: Different result in web interface and command line
Everyone,
Thanks for your questions and suggestions. We got Nagios running the script! (There was a typo in a lib path
)
Thanks for your questions and suggestions. We got Nagios running the script! (There was a typo in a lib path
- Thu Jul 03, 2014 7:59 am
- Forum: Open Source Nagios Projects
- Topic: Different result in web interface and command line
- Replies: 5
- Views: 4591
Re: Different result in web interface and command line
Thanks for replying. Yes, it runs successfully from the CLI using the nagios user.
I added some logging to my script and have discovered that the Nagios app is not even running my script (no logs generated). Have I missed a step in getting it added to command.cfg or somewhere else?
I added some logging to my script and have discovered that the Nagios app is not even running my script (no logs generated). Have I missed a step in getting it added to command.cfg or somewhere else?
- Wed Jul 02, 2014 12:05 pm
- Forum: Open Source Nagios Projects
- Topic: Different result in web interface and command line
- Replies: 5
- Views: 4591
Different result in web interface and command line
I too am getting different results from the command line than from within Nagios for my perl plugin. From CLI I get a line of text output and an exit value of 0 when I expect to; or a different line of text output and a value of 1 when I expect to; but when I go through commands.cfg and the Nagios w...