Showing customized command output to the performance graph
Posted: Wed May 22, 2019 9:24 pm
Hi support,
I need to show a customized command output history in the Nagios XI's performance graph (History performance data).
But after I setting up a command (written in python actually), and setting up a service bind with the command, then can't find a performance graph to show past data line graph.
It seems like if we setup with default cpu monitoring wizard, the performance graph can be found on the cpu load service item.
How to add our performance graph?
Is there any advanced output needed to add in the command (script)?
Or, is there other settings needed to be checked on Nagios XI?
----- update -----
Found some description in your pdf:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
But still don't know how to make my script generate the Performance Data field to show performance graph?
ex, something like:
Another question:
I missed the uploading plugin step, but after adding my script as a command and create a service, it still works.
what's the outcome for not uploading plugin step in this case?
Thanks!
I need to show a customized command output history in the Nagios XI's performance graph (History performance data).
But after I setting up a command (written in python actually), and setting up a service bind with the command, then can't find a performance graph to show past data line graph.
It seems like if we setup with default cpu monitoring wizard, the performance graph can be found on the cpu load service item.
How to add our performance graph?
Is there any advanced output needed to add in the command (script)?
Or, is there other settings needed to be checked on Nagios XI?
----- update -----
Found some description in your pdf:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
But still don't know how to make my script generate the Performance Data field to show performance graph?
ex, something like:
Code: Select all
print("PerformanceData={'field1':value1,'field2':value2}")I missed the uploading plugin step, but after adding my script as a command and create a service, it still works.
what's the outcome for not uploading plugin step in this case?
Thanks!