Page 1 of 1

No Graphs with Mod-Gearman and 2014R1.2

Posted: Sun Jun 29, 2014 9:53 am
by mikew
Trying to get graphing going with Mod-Gearman on a 2014R1.2.

In order to do that I am changing the graphing definitions like so:

process-host-perfdata-file-bulk
sed -i 's/\\n//g' /usr/local/nagios/var/host-perfdata && /bin/mv /usr/local/nagios/var/host-perfdata /usr/local/nagios/var/spool/xidpe/$TIMET$.perfdata.host

process-service-perfdata-file-bulk
sed -i 's/\\n//g' /usr/local/nagios/var/service-perfdata && /bin/mv /usr/local/nagios/var/service-perfdata /usr/local/nagios/var/spool/xidpe/$TIMET$.perfdata.service

The problem is that when I change the command definitions so they will work with Gearman and save it changes it to "&&" which breaks all graphing.

sed -i 's/\\n//g' /usr/local/nagios/var/host-perfdata && /bin/mv /usr/local/nagios/var/host-perfdata /usr/local/nagios/var/spool/xidpe/$TIMET$.perfdata.host

Re: No Graphs with Mod-Gearman and 2014R1.2

Posted: Mon Jun 30, 2014 10:46 am
by slansing
Hey Mike,

I've not seen this issue yet, what browser are you making these changes with? And is this a 32-bit or 64-bit CENTOS/RHEL system? I'd like to try and reproduce this. It may also be valuable to capture some error_log output while trying to save that command:

Code: Select all

tail -f /var/log/httpd/error_log
We may or may not net anything with that.

Edit: just confirmed this as a bug in 2014 r1.2, making a report right now.

Re: No Graphs with Mod-Gearman and 2014R1.2

Posted: Mon Jun 30, 2014 11:52 am
by mikew
Using Chrome and Firefox on a CentOS 6.x 64_bit

No errors in /var/log/httpd/error_log that relate to this at all.

Re: No Graphs with Mod-Gearman and 2014R1.2

Posted: Mon Jun 30, 2014 11:55 am
by slansing
We're working on the bug fix at the moment, there was a change to a regex in the CCM code. Once a patch is created an update should be posted with it's fix.

Re: No Graphs with Mod-Gearman and 2014R1.2

Posted: Mon Jun 30, 2014 4:42 pm
by slansing
Upload the attached zip to your admin > manage components.

That should do the trick until the next release.

Re: No Graphs with Mod-Gearman and 2014R1.2

Posted: Mon Jun 30, 2014 5:42 pm
by mikew
Thank You that fixed it. You can close this..