Cacti not graphing mURLin data

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
brunomartins
Posts: 1
Joined: Mon Feb 17, 2014 9:30 am

Cacti not graphing mURLin data

Post by brunomartins »

Hi everyone,

We are facing a problem in which Cacti does not represent the data collected by the mURLin plugin.

We are using Cacti version 0.8.8b and mURLin version 0.2.2.

This is the output from /var/www/cacti/log/cacti.log:
02/17/2014 02:00:11 PM - CMDPHP: Poller[0] Host[60] DS[457] WARNING: Result from CMD not valid. Partial Result: U
02/17/2014 02:00:12 PM - CMDPHP: Poller[0] Host[60] DS[458] WARNING: Result from CMD not valid. Partial Result: U
02/17/2014 02:00:12 PM - CMDPHP: Poller[0] Host[60] DS[459] WARNING: Result from CMD not valid. Partial Result: U
02/17/2014 02:00:12 PM - CMDPHP: Poller[0] Host[60] DS[459] WARNING: Result from CMD not valid. Partial Result: U
02/17/2014 02:00:12 PM - CMDPHP: Poller[0] Host[60] DS[460] WARNING: Result from CMD not valid. Partial Result: U
02/17/2014 02:00:12 PM - CMDPHP: Poller[0] Host[60] DS[460] WARNING: Result from CMD not valid. Partial Result: U
02/17/2014 02:00:12 PM - CMDPHP: Poller[0] Host[60] DS[461] WARNING: Result from CMD not valid. Partial Result: U
02/17/2014 02:00:12 PM - CMDPHP: Poller[0] Host[60] DS[461] WARNING: Result from CMD not valid. Partial Result: U
02/17/2014 02:00:12 PM - CMDPHP: Poller[0] Host[60] DS[462] WARNING: Result from CMD not valid. Partial Result: U
02/17/2014 02:00:12 PM - CMDPHP: Poller[0] Host[60] DS[462] WARNING: Result from CMD not valid. Partial Result: U
02/17/2014 02:00:13 PM - CMDPHP: Poller[0] Host[60] DS[463] WARNING: Result from CMD not valid. Partial Result: U
02/17/2014 02:00:13 PM - CMDPHP: Poller[0] Host[60] DS[463] WARNING: Result from CMD not valid. Partial Result: U

If running the script manually from the command-line as the poller user, it returns the correct output:
[cactiuser@host ~]$ /usr/bin/php -q /usr/share/cacti/plugins/mURLin/scripts/query_sites.php 60 get downloadsize 2
131463

However, in the past we were able to run the command by hand and graph the following:
http://s16.postimg.org/fqnhbv8hh/Capture.png

Do you have any hints on this? Where else could I check for troubleshooting this?

PS: We're using mURLin because we think it's a good way to monitor HTTP related workloads, however if you have another (better) way of monitoring this kind of things, we appreciate.

Thanks in advance.

Best regards,

Bruno Martins
jamoflaw
Posts: 21
Joined: Sat Aug 24, 2013 4:53 am

Re: Cacti not graphing mURLin data

Post by jamoflaw »

Hi Bruno,

Sorry to hear it isn't working for you, do you have php debugging enabled on the server? I have sometimes seen it include a PHP warning in the output with the poller output causing cacti to read it incorrectly.

Are you getting incorrect values for all the sites or just one in particular?

Let me know if the plugin still isn't working for you and I can do some further debug with you at some point.

Regards,
James

( author of mURLin :p )
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests