It was an undefined macro. I did not define it as $USERx$. When I changed that, it expanded correctly.
Thanks for the help !!
cheers,
Andy
Search found 4 matches
- Thu May 03, 2012 4:04 am
- Forum: Open Source Nagios Projects
- Topic: Global event handler appears not to work
- Replies: 7
- Views: 2537
- Wed May 02, 2012 4:35 am
- Forum: Open Source Nagios Projects
- Topic: Global event handler appears not to work
- Replies: 7
- Views: 2537
Re: Global event handler appears not to work
OK, I've fixed the problem....It appeared that I forgot the second $ to expand a variable I defined in resource.cfg....For some reason, Nagios processes the command, blurs out a bunch of macro-errors and then, silence. No errors, that the printf command did not succeed. Anyway, adding the second $ f...
- Wed May 02, 2012 1:03 am
- Forum: Open Source Nagios Projects
- Topic: Global event handler appears not to work
- Replies: 7
- Views: 2537
Re: Global event handler appears not to work
I assumed that also. I tried to run the printf command as the nagios user, which results in a xml file in the specified directory. So I can conclude that permissions are ok. I don't have SElinux running, so I can exclude that also. My gutfeeling is that I am overlooking a small setting related to th...
- Tue May 01, 2012 10:16 am
- Forum: Open Source Nagios Projects
- Topic: Global event handler appears not to work
- Replies: 7
- Views: 2537
Global event handler appears not to work
Hi all, I'm running into this really annoying problem. I've inherited a Nagios setup, which is used to monitor a system which has limited or no access to the outside world. Main method to connect is FTP. Nagios has been setup to write all host and service events into XML files in a directory on the ...