Page 1 of 1
Graphing custom monitors
Posted: Tue May 08, 2012 9:56 am
by gamechanger
How can we graph data from custom checks? For example, I have a check that checks for replication lag on a db, how do I graph this data? This is not mysql by the way but I do have the replication lag check working and alerting.
Thanks
Re: Graphing custom monitors
Posted: Tue May 08, 2012 10:18 am
by scottwilkerson
Performance data comes after the | character, you will need to have your plugin output the data in the format that nagios understands, once it does the data will be graphed automatically.
http://nagios.sourceforge.net/docs/3_0/pluginapi.html
Re: Graphing custom monitors
Posted: Tue May 08, 2012 12:13 pm
by gamechanger
Thanks. It looks like I will have to enhance my plugin to generate perf data.