I am having an issue where data is not graphing, below is a test script I wrote to graph some disk usage; using the Graph Explorer plugin to watch this on a single graph.
Test works fine, Status Ok is of course returned, under advanced I see there is perfdata; but it isn't graphing. Am I missing something in how NagiosXI graphs data? I have seen this work on other scripts.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
I had a comma where I need an ; in the graphing portion.
Nagios is using the default graphing .xml, how do I change the units to be a % in the graph? Instead of 68.002 as an example - it just shows 68. Given how Nagios can break if you touch default configs, i have avoided touching files I don't fully understand.
Good catch on the comma. In order to make the graph use percentage, you just need to declare the value's unit of measurement as a percent in the perfdata. In my example above, I added a percent sign after the values, this should be enough for the perfdata to be treated as a percentage rather than a float or int value.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.