lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

Another graphics problem

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support
Author Message
eddyilg
Beginner


Joined: 22 Apr 2008
Posts: 2

PostPosted: Tue Apr 22, 2008 10:52 am    Post subject: Another graphics problem Reply with quote

Hi,

my graphs are not displaying. I already checked some other posts, but could not find a solution for my problem.

First of all: The directory /var/lib/netmrg/rrd only contains the file zero.rrd. Does this mean, the gatherer is not working? Do I have to enable some modules to make the files appear in this directory?

The debug output of get_graph.php is:
/usr/bin/rrdtool graph - -s -108000 -e -360 --title="Template Linux Box - System (UCD - CPU Percent User) (#1)" --imgformat PNG -g -w 575 -h 100 DEF:data1=/var/lib/netmrg/rrd/mon_1.rrd:mon_1:AVERAGE AREA:data1#151590

Script execution debug information:
Marker Time Diff
Start 1208861169.07005700 -
before headers 1208861169.07010700 5E-05
before auth 1208861169.07016000 5.3E-05
after auth 1208861169.07054400 0.000384
before get command 1208861169.07056300 1.9E-05
after get command 1208861169.07081800 0.000255
before exec command 1208861169.07083400 1.6E-05
after exec command 1208861169.07619400 0.00536
Stop 1208861169.07624400 5E-05
Start to Stop 0.006187

netmrg-gatherer -a output is:
NetMRG starting.
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0064, C: 0001] Creating Lockfile.
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0064, C: 0257] Initializing SNMP library.
[L: 0064, C: 0129] Initializing RRDTOOL pipe.
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking MySQL
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Unlocking MySQL
[L: 0128, C: 1024] Mysql Query Succeeded. (SELECT version FROM versioninfo WHERE module = 'Main')
[L: 0128, C: 1024] Mysql Query Succeeded. (SELECT id FROM devices WHERE disabled=0 ORDER BY id)
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0128, C: 0002] Locking ActiveThreads
[L: 0128, C: 0002] Unlocking ActiveThreads
[L: 0064, C: 0001] Closed MySQL connection.
[L: 0064, C: 0001] Runtime: 1
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings
[L: 0064, C: 0129] Closed RRDTOOL pipe.
[L: 0064, C: 0257] Cleaned up SNMP.
[L: 0128, C: 0002] Locking Settings
[L: 0128, C: 0002] Unlocking Settings

This also seems to work without problems.


What could be the cause for the graphs to be missing?


Best regards


Eddy Ilg
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Tue Apr 22, 2008 12:34 pm    Post subject: Reply with quote

It sounds like the gatherer isn't running. Did you install from source or from the RPM? If from the RPM, you need to start the service to have it run (/sbin/service netmrg start); otherwise you need to setup an appropriate crontab entry.

-Doug
Back to top
eddyilg
Beginner


Joined: 22 Apr 2008
Posts: 2

PostPosted: Tue Apr 22, 2008 8:36 pm    Post subject: Gatherer Reply with quote

The gatherer is registered as a cronjob. I have also executed it manually, several times and as the above output shows, it exits without errors.

What could be the problem?
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Wed Apr 23, 2008 12:45 am    Post subject: Reply with quote

Does the user the netmrg-gatherer is running as have permission to write to the rrd directory?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group