Empty Result Localhost

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Djiguidjik
Posts: 35
Joined: Tue Sep 29, 2009 4:36 am

Empty Result Localhost

Post by Djiguidjik »

Hi,

I have a problem with my localhost graphs ; they're always empty.
I got this from the LOGS :

Code: Select all

10/19/2016 12:33:02 PM - SPINE: Poller[0] Host[1] ERROR: Empty result [127.0.0.1]: 'perl /usr/share/cacti/site/scripts/query_unix_partitions.pl get used /dev/sda1'
10/19/2016 12:33:02 PM - SPINE: Poller[0] Host[1] ERROR: Empty result [127.0.0.1]: 'perl /usr/share/cacti/site/scripts/query_unix_partitions.pl get available /dev/sda1'
10/19/2016 12:33:02 PM - SPINE: Poller[0] Host[1] ERROR: Empty result [127.0.0.1]: 'perl /usr/share/cacti/site/scripts/linux_memory.pl SwapFree:'
10/19/2016 12:33:02 PM - SPINE: Poller[0] Host[1] ERROR: Empty result [127.0.0.1]: 'perl /usr/share/cacti/site/scripts/linux_memory.pl MemFree:'
10/19/2016 12:33:02 PM - SPINE: Poller[0] Host[1] ERROR: Empty result [127.0.0.1]: 'perl /usr/share/cacti/site/scripts/unix_processes.pl'
10/19/2016 12:33:02 PM - SPINE: Poller[0] Host[1] ERROR: Empty result [127.0.0.1]: 'perl /usr/share/cacti/site/scripts/unix_users.pl '
10/19/2016 12:33:02 PM - SPINE: Poller[0] Host[1] ERROR: Empty result [127.0.0.1]: 'perl /usr/share/cacti/site/scripts/loadavg_multi.pl'
I already tried to put the full path in the Data Input Methods (and rebuild cache) and it didn't change anything...

It was working in the beginning and at some point (I can't remember when) it stopped. Someone can help me fix this ?

Thanks
I run Cacti Version 0.8.8b
I'm on Ubuntu 14.04.1 LTS
cigamit
Developer
Posts: 3363
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Empty Result Localhost

Post by cigamit »

Have you attempted to run those commands yourself as the same user that the poller runs as?
Djiguidjik
Posts: 35
Joined: Tue Sep 29, 2009 4:36 am

Re: Empty Result Localhost

Post by Djiguidjik »

Hi,

Yes, I've tried and I have a result when I run the commands.
It seems that there's an error only when the poller (spine) runs it.
Djiguidjik
Posts: 35
Joined: Tue Sep 29, 2009 4:36 am

Re: Empty Result Localhost

Post by Djiguidjik »

Any ideas ?
smiles
Cacti User
Posts: 79
Joined: Mon Sep 10, 2012 5:54 pm

Re: Empty Result Localhost

Post by smiles »

Are you running spine as root?
Djiguidjik
Posts: 35
Joined: Tue Sep 29, 2009 4:36 am

Re: Empty Result Localhost

Post by Djiguidjik »

Hi,

I run it with www-data not with root.
Djiguidjik
Posts: 35
Joined: Tue Sep 29, 2009 4:36 am

Re: Empty Result Localhost

Post by Djiguidjik »

I changed it to run with root and now it's working fine...

Must be the permissions ?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests