Search found 12 matches

by uragusan
Wed Aug 12, 2015 1:52 am
Forum: Open Source Nagios Projects
Topic: Issue with contact macros in environment variables
Replies: 5
Views: 2126

Re: Issue with contact macros in environment variables

thank you very much, it's seems to work.
by uragusan
Tue Aug 11, 2015 10:13 am
Forum: Open Source Nagios Projects
Topic: Issue with contact macros in environment variables
Replies: 5
Views: 2126

Re: Issue with contact macros in environment variables

jdalrymple wrote:
Patch the file:

Code: Select all

patch < /path/to/your/file.patch
Hi jdalrymple,
Thanks for yout answer, but it dosn’t work for me.
No output, macros.c wasn’t changed.
by uragusan
Tue Aug 11, 2015 3:03 am
Forum: Open Source Nagios Projects
Topic: Issue with contact macros in environment variables
Replies: 5
Views: 2126

Issue with contact macros in environment variables

Hello, For our Nagios 4.0.8 email notification we use nagios_mail.php(Extended Nagios Notification Mail author Otto Berger) that require to enable environment macros. We have a problem with CONTACTMAIL Macro which always contains same mail address. Same bug has already been described. https://tracke...
by uragusan
Fri Jul 17, 2015 1:50 am
Forum: Open Source Nagios Projects
Topic: CGI Error created by "enable_environment_macros=1"
Replies: 17
Views: 10282

Re: CGI Error created by "enable_environment_macros=1"

I don't have a GitHub account, I would be very grateful if you would describe this bug.
by uragusan
Thu Jul 16, 2015 9:02 am
Forum: Open Source Nagios Projects
Topic: CGI Error created by "enable_environment_macros=1"
Replies: 17
Views: 10282

Re: CGI Error created by "enable_environment_macros=1"

I have corrected all .cfg Files, now all works very fine.
Thanks very much to all who tries to help me.
Have anyone idea why Nagios 4 have this problem.
by uragusan
Wed Jul 15, 2015 7:39 am
Forum: Open Source Nagios Projects
Topic: CGI Error created by "enable_environment_macros=1"
Replies: 17
Views: 10282

Re: CGI Error created by "enable_environment_macros=1"

We have possibly found the source of the issue. Our old .cfg Files have in the host definition empty customer fields. for example… define host{ use linux-server host_name localhost alias localhost address 127.0.0.1 notes $_HOSTCUSTOMER001$ $_HOSTCUSTOMER002$ $_HOSTCUSTOMER003$ $_HOSTCUSTOMER004$ $_H...
by uragusan
Tue Jul 14, 2015 1:19 am
Forum: Open Source Nagios Projects
Topic: CGI Error created by "enable_environment_macros=1"
Replies: 17
Views: 10282

Re: CGI Error created by "enable_environment_macros=1"

I have take this tutorial. http://www.2daygeek.com/nagios-4-0-8-installation-ubuntu-debian-linuxmint/ With all this packages that we need for our checks. apt-get install wget build-essential apache2 php5-gd libgd2-xpm libgd2-xpm-dev libapache2-mod-php5 libperl-dev libssl-dev apache2-utils snmp libsn...
by uragusan
Mon Jul 13, 2015 1:34 am
Forum: Open Source Nagios Projects
Topic: CGI Error created by "enable_environment_macros=1"
Replies: 17
Views: 10282

Re: CGI Error created by "enable_environment_macros=1"

Now, try finishing the the command and submitting the forced check: REMOTE_USER=nagiosadmin REQUEST_METHOD=GET QUERY_STRING="cmd_typ=7&cmd_mod=2&host=de-h-nas02&service=DSM+System+Status&force_check=on&start_time=$(date '+%m-%d-%Y %H:%M:%S')&btnSubmit=Commit" /usr/...
by uragusan
Fri Jul 10, 2015 10:57 am
Forum: Open Source Nagios Projects
Topic: CGI Error created by "enable_environment_macros=1"
Replies: 17
Views: 10282

Re: CGI Error created by "enable_environment_macros=1"

Hello jdalrymple,
Apparmor so as selinux do not run on our Debian 8 Nagios Server.