[Nagiosplug-help] Development and general help...
Karl DeBisschop
karl at debisschop.net
Tue Jun 24 04:20:41 CEST 2003
On Mon, 2003-06-23 at 05:05, Raymond Page wrote:
> To whomever is on these lists:
>
>
> I am trying to get check_imap.t and check_pop.t to run. They are located
> under the plugins/t/ directory. However, I'm not a Perl guy, and I'm
> befudled as to why it says I need Cache.pm. I'm presuming it's some sort of
> Perl library/module that it's not finding. Anyways, I've looked on CPAN and
> I'm pretty clueless as to what I need to get, if someone could help me with
> that I'd appreciate it.
Cache.pm is created when you run the first test - it caches the servers
you use for testing. It should create itself when you run make check.
It is not on CPAN (cannot be, it is unique to each user)
> As for development, I'm wanting to take the check_email_loop.pm from the
> contrib section and convert it over to imap. I'm curious if Nagios will
> timeout while I'm connected. The idea is to send N emails and leave the imap
> connection open until all of the emails have arrived, and thus be able to
> find the average time it takes for emails to arrive. IMAP as opposed to POP
> because it's one session and less time reconstructing the connection. Since
> I'm having to wait for the emails, I don't want Nagios to timeout on the
> return reply. So if anyone knows how long Nagios will wait for a check to
> take, that's what I need.
There is a setting in the config file -- defaults to 30 secs, IIRC.
--
Karl
More information about the Help
mailing list