[Nagiosplug-devel] Re: OF nagios plugins

Gavin Carr gavin at openfusion.com.au
Wed Jun 8 19:15:56 CEST 2005


On Wed, Jun 08, 2005 at 09:50:30PM -0400, Subhendu Ghosh wrote:
> >Yeah, I tried check_mailq first, but couldn't get it to work. The problem
> >I hit was that I'm typically using DAG's nagios-plugins RPM package, and
> >that doesn't set $PATH_TO_QMAIL_QSTAT in utils.pm, which check_mailq 
> >requires.
> >I gave up on it when I couldn't figure out a way to fix that on multiple
> >machines cleanly. Hardcoded paths in libaries (except maybe as defaults) 
> >are
> >way dumb! How about adding an etc/nagios/plugins.cfg for such things, so
> >that sites can override site-local settings like that?
> >
> 
> Having always done it the old-fashioned way, I never really thought about 
> the rpms and the configure runtime-default-paths.

Yeah, certainly separating out the runtime paths into a configuration 
file would be a good thing.

> It would be useful to add this to the general feature set as we look at 
> transforming utils.pm into more of library of objects.

Is this a TODO, or is something underway? Any info on what's planned? I'd
be happy to help out if you're looking for any assistance.

Cheers,
Gavin





More information about the Devel mailing list