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
graphing custom monitors
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: graphing custom monitors
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
http://nagios.sourceforge.net/docs/3_0/pluginapi.html
-
- Posts: 16
- Joined: Fri Apr 27, 2012 11:21 am
Re: graphing custom monitors
Thanks. It looks like I will have to enhance my plugin to generate perf data.