Olly
08-28-2007, 02:45 PM
Afternoon...
Sorry if I've missed an answer to this - I've spent a while looking around and after having stretched my long-forgotten school french to beyond breaking point I'm at a loss.
I have nagios checks outputting load information, and the process performance data command appending them to the service-perfdata file as follows:
From nagios command check_local_load with argument !10,10,10!15,15,15:
OK - load average: 0.01, 0.12, 0.15|load1=0.010;10.000;15.000;0; load5=0.120;10.000;15.000;0; load15=0.150;10.000;15.000;0;
In service-perfdata file:
1187969639 <servername> LOAD OK - load average: 0.01, 0.12, 0.15 OK load1=0.010;10.000;15.000;0; load5=0.120;10.000;15.000;0; load15=0.150;10.000;15.000;0;
However, then ODS picks that up and turns it into something I don't understand. On the graphs, the figures are as follows:
load1 Average: 62.61m Min: 0.00 Max:359.92m Last:84.04m
load5 Average: 54.22m Min: 0.00 Max:334.63m Last:47.12m
load15 Average: 29.41m Min:0.00 Max: 223.96m Last:8.27m
It looks like it's taking the whole load1=0.010;10.000;15.000;0; strings and using the thresholds in calculation. Any ideas how I can avoid this and get the true numbers in the graph?
Thanks for any help
Olly.
Sorry if I've missed an answer to this - I've spent a while looking around and after having stretched my long-forgotten school french to beyond breaking point I'm at a loss.
I have nagios checks outputting load information, and the process performance data command appending them to the service-perfdata file as follows:
From nagios command check_local_load with argument !10,10,10!15,15,15:
OK - load average: 0.01, 0.12, 0.15|load1=0.010;10.000;15.000;0; load5=0.120;10.000;15.000;0; load15=0.150;10.000;15.000;0;
In service-perfdata file:
1187969639 <servername> LOAD OK - load average: 0.01, 0.12, 0.15 OK load1=0.010;10.000;15.000;0; load5=0.120;10.000;15.000;0; load15=0.150;10.000;15.000;0;
However, then ODS picks that up and turns it into something I don't understand. On the graphs, the figures are as follows:
load1 Average: 62.61m Min: 0.00 Max:359.92m Last:84.04m
load5 Average: 54.22m Min: 0.00 Max:334.63m Last:47.12m
load15 Average: 29.41m Min:0.00 Max: 223.96m Last:8.27m
It looks like it's taking the whole load1=0.010;10.000;15.000;0; strings and using the thresholds in calculation. Any ideas how I can avoid this and get the true numbers in the graph?
Thanks for any help
Olly.