I have prepared a new Nagiosgrpah installation and are very happy with the new functions compared to the old version we use that is a couple of years old.
But I have one question. I want to have separate graphs in the day/week/month/year section, one should have the percentage value eg. for the filesystem usage, the second graph the free size in eg. MB. The percentage would scale from 0 to 100, the free space up to a much larger value.
We have that configured on our old system by using &db=db1,usage&db=db=free but the new version puts all in the same graph. I read through the documentation and found a lot of other informations, but nothing about this.
Is this still possible ?
one way to do this is to define a group. in the groupdb.conf file, do something like this:
each line will result in a graph.
another way to control the graph contents is the datasetdb.conf file. those settings apply to all the cgi scripts. see the contents of datasetdb.conf for details.
thanks for that information. I'm aware of the datasetdb.conf, but there I have not the options to define two separate diagrams.
Defining a group would do the job, but I have about 13 hosts where each has more the 40 different filesystems that need to be monitored. That would need a lot of definitions. Isn't there an easier way ?
did you have something working in a previous version of nagiosgraph? if so, using which cgi script (show.cgi, showservice.cgi, or showhost.cgi)?
i am working on wildcards in the configuration files for showservice.cgi, showhost.cgi, and showgroup.cgi. this capability should make it into the 1.4.5 release.
we use the show.cgi, but I think it might be a self modified version.
I haven't noticed that there is a show.cgi.ori in the directory, therefor I think somebody has modified it.
For each &db statement we add, a new graph gets created in each section.
Here is the url from the service definition:
I would prefer this way of creating multiple graphs instead of being able to define data from multiple rrd's and have them in the same graph. But that is our method. I will check the show.cgi and see how the changes were done and see if they might fit into the current version.
Hi, I'm new here, but I'm facing similar problems as Rainer is. We have a dynamic "monitor disk space" - if a disk or a partition shows up in 'df' the relevant partition is added automatically in.
Anyway, I am also monitoring the percentage used (range: 0 - 100%), and Diskspace used (range: 0 to some TBs), and when I upgraded from version 1.3.1 to version 1.4.4 things stopped being showed on individual graphs, but were all collected into a single graph.
The following is the 'show.cgi' line from 1.3.1 where it had different graphs per db= entry:
(Showing NTP stuff instead of disks, but the principle is the same - one combined graph versus several graphs)
Same line from nagiosgraph 1.4.4 results in a single graph, combining all entries:
So, my question is: Is there a way to get seperate graph for each db= entry given?
Log in to post a comment.