Empty output after SQL-connecting?

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.
User avatar
eloyd
Cool Title Here
Posts: 2129
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Empty output after SQL-connecting?

Post by eloyd »

You should consider following the http://nagios.sourceforge.net/docs/3_0/pluginapi.html Nagios Plugin API and guidelines. your perl script is not fully compliant as it is. This may help you in the long run.

Most people write plugins to do a quick and dirty job, so they don't care really. But if you want to be fully compatible, you need to follow the documentation.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoydI'm a Nagios Fanatic!
reinaldo.gomes
Posts: 59
Joined: Wed Apr 02, 2014 9:29 am

Re: Empty output after SQL-connecting?

Post by reinaldo.gomes »

I will check it out.
Thanks for pointing me in the right direction.
Locked