Page 2 of 2

Re: Empty output after SQL-connecting?

Posted: Tue Aug 05, 2014 10:18 am
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.

Re: Empty output after SQL-connecting?

Posted: Tue Aug 05, 2014 11:23 am
by reinaldo.gomes
I will check it out.
Thanks for pointing me in the right direction.