GET 24/7 LIVE HELP NOW

Announcement

Announcement Module
Collapse
No announcement yet.

Percona Load Average empty graph

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Percona Load Average empty graph

    Hi,

    On debian wheezy, I've installed cacti "0.8.8a" and the percona cacti template "1.0.4" :

    Everything is fine except for the Percona Load Average graph (empty with -nan value for Cur/Avg/Max)

    The script ss_get_by_ssh.php get the correct value :

    Code:
    /usr/bin/php -q /usr/share/cacti/site/scripts/ss_get_by_ssh.php --host 10.0.0.2 --type w --items ho
    ho:2,00
    No errors in the error log.

    Any idea ?

    Thanks in advance.

  • #2
    With debug level :

    Code:
     
    10/04/2013 11:50:03 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/lib/cacti/rra/web1_stat_loadavg_324.rrd --template STAT_loadavg 1380880202:U
    10/04/2013 11:50:03 AM - POLLER: Poller[0] Parsed MULTI output field 'ho:1,97' [map ho->STAT_loadavg]
    10/04/2013 11:50:03 AM - CMDPHP: Poller[0] Host[12] DS[314] CMD: /usr/bin/php -q /usr/share/cacti/site/scripts/ss_get_by_ssh.php --host 10.0.0.2 --type w --items ho, output: ho:1,97

    Comment


    • #3
      What's the output of "w" command on the server?

      It should look like:
      21:26 up 22 days, 1:04, 6 users, load averages: 0.83 0.81 0.78

      But it seems, in your case, the load average reports numbers containing , (comma) as a decimal delimiter, may be due to the locale. That's a problem.

      Comment

      Working...
      X