|
|
| Author |
Message |
mic Beginner
Joined: 07 Oct 2003 Posts: 9
|
Posted: Tue Oct 07, 2003 6:35 pm Post subject: can't see images |
|
|
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
|
Posted: Tue Oct 07, 2003 6:42 pm Post subject: |
|
|
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
|
Posted: Tue Oct 07, 2003 6:58 pm Post subject: |
|
|
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
|
Posted: Tue Oct 07, 2003 8:13 pm Post subject: |
|
|
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
|
Posted: Tue Oct 07, 2003 8:56 pm Post subject: |
|
|
| to my create subdevice. i followed the steps from the readme file. |
|
| Back to top |
|
 |
balleman Site Admin
Joined: 20 Jan 2003 Posts: 282
|
Posted: Tue Oct 07, 2003 11:41 pm Post subject: template application issues? |
|
|
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
|
Posted: Wed Oct 08, 2003 8:45 am Post subject: |
|
|
| 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
|
Posted: Wed Oct 08, 2003 9:00 am Post subject: |
|
|
| 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
|
Posted: Wed Oct 08, 2003 9:59 pm Post subject: |
|
|
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
|
Posted: Thu Oct 09, 2003 7:37 am Post subject: |
|
|
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
|
Posted: Thu Oct 09, 2003 10:41 pm Post subject: |
|
|
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
|
Posted: Fri Oct 10, 2003 11:35 am Post subject: |
|
|
| 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
|
Posted: Fri Oct 10, 2003 1:34 pm Post subject: |
|
|
| 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
|
Posted: Sat Oct 18, 2003 12:03 am Post subject: |
|
|
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
|
Posted: Tue Oct 21, 2003 9:49 am Post subject: |
|
|
| 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 |
|
 |
|