Host Duration Macro

Shawn Holland sholland at sandara.ca
Tue Jan 16 19:41:19 CET 2007


If needed I am running:

nagios-plugins-1.4.3

Any help is apreciated.

On Saturday 13 January 2007 1:28 pm, Shawn Holland wrote:
> Hi all,
>
> I am running:
>
> Nagios 2.2
> SuSE 10.1
>
> I have modified libexec/send_mail.pl and my config file to include the
> macro $HOSTDURATION$
>
> As per doc:
>
> $HOSTDURATION$  A string indicating the amount of time that the host has
> spent in its current state. Format is "XXh YYm ZZs", indicating hours,
> minutes and seconds.
>
> Emails of host down are being sent but the value of $HOSTDURATION$ is
> always showing a value of 1.
>
> This does not correspond with the above description. Can anyone assist.
> Please let me know what information you require.

-- 
Regards,

Shawn Holland

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list