Absolute graphs?
Posted: Tue Dec 14, 2010 12:28 pm
Hi All,
I'm new to developing nagios plugins, have recently created my first one (http://exchange.nagios.org/directory/Pl ... rs/details) and now I'm trying to add graph functionality to it.
After adding perf data to my script output and creating an entry on the nagiosgraph map file I now have a graph, my problem is this is not absolute (not sure that's the correct term), I'll try to clarify it.
The plugin collects the number of current listeners on a shoutcast server, so it will return a "whole number" (1, 5, 9, etc...) but for some reason the graphs are been built with decimal values inside it. I'm new to RRD as well but I'm there's some setting on the rrd file that can change this.
I've attached a screenshoot where you can see the values are decimals, you can see the CUR value is 2.78 how can I have 2.78 listeners?
All I want is for the graph to show "whole numbers" ONLY.
Let me know if you need to see any more details on this, any help is much appreciated.
Regards
Kadu
I'm new to developing nagios plugins, have recently created my first one (http://exchange.nagios.org/directory/Pl ... rs/details) and now I'm trying to add graph functionality to it.
After adding perf data to my script output and creating an entry on the nagiosgraph map file I now have a graph, my problem is this is not absolute (not sure that's the correct term), I'll try to clarify it.
The plugin collects the number of current listeners on a shoutcast server, so it will return a "whole number" (1, 5, 9, etc...) but for some reason the graphs are been built with decimal values inside it. I'm new to RRD as well but I'm there's some setting on the rrd file that can change this.
I've attached a screenshoot where you can see the values are decimals, you can see the CUR value is 2.78 how can I have 2.78 listeners?
All I want is for the graph to show "whole numbers" ONLY.
Let me know if you need to see any more details on this, any help is much appreciated.
Regards
Kadu