graphing custom monitors

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
gamechanger
Posts: 16
Joined: Fri Apr 27, 2012 11:21 am

graphing custom monitors

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: graphing custom monitors

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
gamechanger
Posts: 16
Joined: Fri Apr 27, 2012 11:21 am

Re: graphing custom monitors

Post by gamechanger »

Thanks. It looks like I will have to enhance my plugin to generate perf data.