[Nagiosplug-devel] Re: OF nagios plugins

Subhendu Ghosh sghosh at sghosh.org
Wed Jun 8 18:56:42 CEST 2005


On Thu, 9 Jun 2005, Gavin Carr wrote:

<snip>
>
> 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.

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.


-- 
-sg




More information about the Devel mailing list