Search found 3 matches

by mschroeder
Wed May 16, 2012 8:47 am
Forum: Open Source Nagios Projects
Topic: Possible issues with environment vars in 3.4.1?
Replies: 2
Views: 830

Re: Possible issues with environment vars in 3.4.1?

I found a problem in our configuration. Apparently we had not needed this in nagios.cfg in 3.3.1: enable_environment_macros=1 That appears to be required in 3.4.1. Adding that line to nagios.cfg fixes this. Sorry for posting before I finished my investigation, but I needed a quick turn-around on thi...
by mschroeder
Tue May 15, 2012 5:49 pm
Forum: Open Source Nagios Projects
Topic: Possible issues with environment vars in 3.4.1?
Replies: 2
Views: 830

Possible issues with environment vars in 3.4.1?

We reference environment variables like NAGIOS_HOSTADDRESS in our services checks, and when we upgraded from 3.3.1 to 3.4.1 we seem to not be getting any of these environment variables set. I'm still investigating our own code, but wanted to see if anyone else has noticed this issue. Our old referen...
by mschroeder
Thu May 10, 2012 11:08 am
Forum: Open Source Nagios Projects
Topic: 3.4.0 Quotes in command_line are behaving incorrectly
Replies: 1
Views: 1013

3.4.0 Quotes in command_line are behaving incorrectly

In checkcommands.cfg we have a command_line with double quotes like below: define command { command_name check_selmon command_line $USER1$/schedule_service --directive "check_selmon_for_mh_$HOSTNAME$" } I have printed out the arguments that the script receives, and in 3.1.2 they were corre...