(This is more of a PNP4Nagios question than an rrdtool question, but here goes)
With PNP4Nagios, you can define custom templates for each check_command. In the share/templates directory, the templates are named xxx.php for a check_command xxx. These templates are PHP code that defines the RRDTool command line used to generate the graph images. So, you can make the graphs do anything RRDTool can do… since your existing graph looks different from the default, I’m guessing you already have a customised template. To set the graph Y-axis lower bound, you can use --lower-limit to set the min value (default is 0) and optionally --rigid to make this fixed even if the graph value goes below the lower value (this will also affect the upper limit option as well). The code you’ll need in there is something similar to: $opt[1] .= ‘ �Clower-limit 10’ But this will depend on how you’re keying it, and if the values are in Gb or in b Steve _____ Steve Shipway ITS Unix Services Design Lead University of Auckland, New Zealand Floor 1, 58 Symonds Street, Auckland Phone: +64 (0)9 3737599 ext 86487 DDI: +64 (0)9 923 6487 Mobile: +64 (0)21 753 189 Email: <mailto:s.ship...@auckland.ac.nz> s.ship...@auckland.ac.nz P Please consider the environment before printing this e-mail : 打印本邮件, 将减少一棵树存活的机会 From: rrd-users-bounces+s.shipway=auckland.ac...@lists.oetiker.ch [mailto:rrd-users-bounces+s.shipway=auckland.ac...@lists.oetiker.ch] On Behalf Of Jonathan Osborne Sent: Thursday, 16 January 2014 10:04 a.m. To: rrd-users@lists.oetiker.ch Subject: [rrd-users] Graph Values. Folks, I am graphing Disk Usage over time using PNP4Nagios. Is there a way to change the parameters of the graph so it shows a different minimum number other than zero? Here is an example of one of the graphs: Can this be changed so the range in the graph is not 0 �C 20, but 10 �C 20? Also, how do you change the data source type? If someone could help with the syntax of the commands, that would be great. Thanks a lot! Jon
<<image001.png>>
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users