Timestamps on Alerts.

Wheeler, MG MG at ev3.net
Thu Jun 24 15:58:56 CEST 2004


miuch, thanks for asking this question! It wasn't bugging me enough to have asked yet.

Tedman, Thanks so much for the quick answer, I'm changing most of my scripts now to reflect this change.

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Tedman Eng
Sent: Wednesday, June 23, 2004 10:16 PM
To: 'Korthrun'; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Timestamps on Alerts.


Change your sms alert command in misccommands.cfg to use $SHORTDATETIME$
instead of $DATETIME$

http://nagios.sourceforge.net/docs/1_0/macros.html



-----Original Message-----
From: Korthrun [mailto:nagios at korthrun.net]
Sent: Wednesday, June 23, 2004 7:41 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Timestamps on Alerts.


 For sending alerts via sms, the date formats available in nagios.cfg are a
bit verbose, a simple 06-23 14:34 would do
 just fine. The present style just sends to many characters. I realise I
could go into misc commands and just pop the
 date command in there, but I am curious if there is a way to change this
within nagios, maybe editing something before
 compile time.
 
 Thanks miuch
 


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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

_____________________________________________________________________
Message scanned for viruses

_____________________________________________________________________
This message has been checked for all known viruses


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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