Best way to make perfdata?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
eltrasimaco
Posts: 75
Joined: Thu Aug 02, 2012 7:15 am

Best way to make perfdata?

Post by eltrasimaco »

Hi, I have several shell-scripts running as service checks; what's the best way to get perfdata out of them? (mostly execution times)
Example: Check DNS calling dig from a shell script = how much time was spent by dig command.
Maybe a C wrapper? using the time command? Any experiences about this? Thanks
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Best way to make perfdata?

Post by slansing »

Locked