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

can't see images
Goto page 1, 2  Next
 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support
Author Message
mic
Beginner


Joined: 07 Oct 2003
Posts: 9

PostPosted: Tue Oct 07, 2003 6:35 pm    Post subject: can't see images Reply with quote

i installed netmrg 0.10 today, but i can't see any graph images. The cronjob does not produce any errors, but it seems, that the database remais unchainched. mysql version is 3.23.55. any ideas?

besides that, netmrg looks really good, great job!
Back to top
silfreed
Site Admin


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

PostPosted: Tue Oct 07, 2003 6:42 pm    Post subject: Reply with quote

Look in your rrd directory to see if any files are being created (/usr/local/var/lib/netmrg/rrd/ for normal installs) and see if there are any files there. You might want to check permissions as well and be sure that the user you're running the cron job as can write to that directory.

Have you added any devices yet? The template box doesn't have any graphs associated with it, so you have to add your own devices and apply templates to it. Let us know if you need any help with that.

-Doug
Back to top
mic
Beginner


Joined: 07 Oct 2003
Posts: 9

PostPosted: Tue Oct 07, 2003 6:58 pm    Post subject: Reply with quote

the rrd directory just contains zero.rrd. After applying a template to a sub device, the item should be shown in the monitors column in the device tree, but it is not.
even if running the cron job with root permission, no change in the rrd directory and in the database is done
Back to top
silfreed
Site Admin


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

PostPosted: Tue Oct 07, 2003 8:13 pm    Post subject: Reply with quote

To a subdevice of a device that you created, or to a subdevice of the Template Linux box? In order to get graphs you'll need to add your own device and apply the template to that. If you haven't read our brief tutorial, you can read it here:
http://www.netmrg.net/docs/netmrg-0_10/tutorial.html

-Doug
Back to top
mic
Beginner


Joined: 07 Oct 2003
Posts: 9

PostPosted: Tue Oct 07, 2003 8:56 pm    Post subject: Reply with quote

to my create subdevice. i followed the steps from the readme file.
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Tue Oct 07, 2003 11:41 pm    Post subject: template application issues? Reply with quote

Try descending through groups, to your device, and your system subdevice. Are there monitors listed?

If not, is it possible you accidentally applied the template to the wrong subdevice? Try applying the template again if you haven't.


Thanks for your help debugging.
Back to top
mic
Beginner


Joined: 07 Oct 2003
Posts: 9

PostPosted: Wed Oct 08, 2003 8:45 am    Post subject: Reply with quote

no, there are no monitors listed. Applying a template again does not add a monitors to any of my two subdevices.
Back to top
mic
Beginner


Joined: 07 Oct 2003
Posts: 9

PostPosted: Wed Oct 08, 2003 9:00 am    Post subject: Reply with quote

some more information: adding a test directly to a subdevice in "groups" seems to work, but i don't see any graphs there either.
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Wed Oct 08, 2003 9:59 pm    Post subject: Reply with quote

Ok. If you have a monitor set up now, try running:
Code:
netmrg-gatherer -c1023 -l1023


Please post the output (less anything sensitive). Hopefully this will show why you still have no RRD files.

Also, can you give us some more details? What kind of host are you trying to monitor? What type(s) of sub-device are you using ("Group", "Interface", "Disk")? Which templates did you try to apply to that sub-device?
Back to top
mic
Beginner


Joined: 07 Oct 2003
Posts: 9

PostPosted: Thu Oct 09, 2003 7:37 am    Post subject: Reply with quote

I found the problem of the missing images. rrdtool was compiled using an old version of libpng, but in the meanwhile a new version of the lib was installed. The result was a segmentation fault when running rrdtool.

But it remains the problem, that i'm not able to assign templates to subdevices. Adding e.g. an snmp test like "UCD - Load Average - 1 min" works quite find, the graph is shown now, but when assigning a template, no monitor is added to the subdevice.
Back to top
silfreed
Site Admin


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

PostPosted: Thu Oct 09, 2003 10:41 pm    Post subject: Reply with quote

Well I'm glad you figured out the rrdtool/image problem. We were feeling kinda stumped ;)

Like Brady said, what template are you trying to apply to what type of subdevice (group, net, disk)? If it's net or disk, are you specifying any parameters?

Thanks for you help in debugging this and you patience; we've been using this for awhile, so it's all intuitive to us; I'm sure its very intimdating to everyone else though.

-Doug
Back to top
mic
Beginner


Joined: 07 Oct 2003
Posts: 9

PostPosted: Fri Oct 10, 2003 11:35 am    Post subject: Reply with quote

e.g. i'm trying to apply the "Linux Box - Available Memory" template graph to my test subdevice of type "group".
Back to top
silfreed
Site Admin


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

PostPosted: Fri Oct 10, 2003 1:34 pm    Post subject: Reply with quote

Thanks mic, we'll try to test this out today and figure out what's going on.
Back to top
silfreed
Site Admin


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

PostPosted: Sat Oct 18, 2003 12:03 am    Post subject: Reply with quote

Mic, just checking to see if you're still around.

I've finally been able to duplicate this, so I'll hopefully get a fix out soon.

Just to test, could you apply a 'CPU Utilization' graph to your linux box and see if that gets applied? I had that one work, where others did not (like the Available Memory one).

-Doug
Back to top
mic
Beginner


Joined: 07 Oct 2003
Posts: 9

PostPosted: Tue Oct 21, 2003 9:49 am    Post subject: Reply with quote

applying to "CPU Utilization" template to my subdevice does not work also. If i could help you finding the problem, tell we what to do.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 



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