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
No Graphs with Mod-Gearman and 2014R1.2
No Graphs with Mod-Gearman and 2014R1.2
Mike Weber
Nagios Training/Consulting
Nagios Training/Consulting
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: No Graphs with Mod-Gearman and 2014R1.2
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:
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.
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
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
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.
No errors in /var/log/httpd/error_log that relate to this at all.
Mike Weber
Nagios Training/Consulting
Nagios Training/Consulting
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: No Graphs with Mod-Gearman and 2014R1.2
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.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: No Graphs with Mod-Gearman and 2014R1.2
Upload the attached zip to your admin > manage components.
That should do the trick until the next release.
That should do the trick until the next release.
You do not have the required permissions to view the files attached to this post.
Re: No Graphs with Mod-Gearman and 2014R1.2
Thank You that fixed it. You can close this..
Mike Weber
Nagios Training/Consulting
Nagios Training/Consulting