Search found 6 matches
- Sun Nov 02, 2014 9:50 pm
- Forum: Open Source Nagios Projects
- Topic: Problem returning data from Perl Check script
- Replies: 4
- Views: 2339
Re: Problem returning data from Perl Check script
I'm willing to wager you are running your tests as root which is working and it's more a permission issue when running the shell script as the nagios user (which depending on the contents of that shell script could have different ways of being addressed). You gave me the pointer (and properly forme...
- Sun Nov 02, 2014 6:39 pm
- Forum: Open Source Nagios Projects
- Topic: Problem returning data from Perl Check script
- Replies: 4
- Views: 2339
Re: Problem returning data from Perl Check script
Are you doing your command line tests as the nagios user? I hadn't been. I think you are on the right track. Two of the commands in the script need to be executed with root privileges. I also can pull all three items from the shell script up into the Perl script, which should also simplify things. ...
- Sat Nov 01, 2014 11:00 pm
- Forum: Open Source Nagios Projects
- Topic: Problem returning data from Perl Check script
- Replies: 4
- Views: 2339
Problem returning data from Perl Check script
Greetings, I'm having trouble displaying data in Nagios Core 3.5.1 that should be returned from a Perl "Check" script. The script is a modified version of this script: http://exchange.nagios.org/directory/Plugins/System-Metrics/Environmental/check_watchptTemp/details Instead of communicati...
- Thu Dec 26, 2013 4:40 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios 4.0.2 and pnp4nagios wproc issue?
- Replies: 5
- Views: 3511
Re: Nagios 4.0.2 and pnp4nagios wproc issue?
I really appreciate the prompt and detailed feedback.
This is just in a test environment, so no big deal to wait and try again some time in the future!
Thanks again,
John
This is just in a test environment, so no big deal to wait and try again some time in the future!
Thanks again,
John
- Thu Dec 26, 2013 3:28 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios 4.0.2 and pnp4nagios wproc issue?
- Replies: 5
- Views: 3511
Re: Nagios 4.0.2 and pnp4nagios wproc issue?
Welp -- the patch eliminated the unknown job type error. Unfortunately, it still appears that the perfdata files are not being written/updated: Informational Message[12-26-2013 14:22:47] wproc: early_timeout=0; exited_ok=1; wait_status=512; error_code=0; Informational Message[12-26-2013 14:22:47] wp...
- Thu Dec 26, 2013 1:28 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios 4.0.2 and pnp4nagios wproc issue?
- Replies: 5
- Views: 3511
Nagios 4.0.2 and pnp4nagios wproc issue?
Greetings, I've just updated a small test environment from Nagios 3.5.1 to Nagios 4.0.2. I've also got pnp4Nagios 0.6.21 running with this installation. The Nagios upgrade went fine. Old pnp4Nagios data is still available, but it appears the perfdata checks are not happening. The Nagios event log sh...