Event ID

James Kingston james.kingston at gmail.com
Sun Jul 4 18:27:13 CEST 2004


Okay... same idea, take 2:

Take the md5sum of the hostname-(servicename|hostalert)-timet string
and return as many characters of it as you can afford given the space
restraints.  Using the last 10 chars from the md5sum would give you a
1 in a trillion chance of your IDs colliding.  We use this idea to
generate email Message-ID and In-Reply-To headers

On 04 Jul 2004 14:41:00 +0200, Horvath Tamas <zsitfa at axelero.hu> wrote:
> Thanks James!
> 
> I thought something like this method, but I send these info in the
> notification messages anyway.
> 
> And our on-call support person replies the SMS and writes what he does
> to solve the actual problem (He couldn't access the web interface of
> Nagios from outside my company). We need lot of space from the available
> 160 to wrote correct answers and this type of ID is too long for us
> (We've tested it already.)
> 
> Does anybody have a good solutiuon for a numeric ID?
> 
> Thank
>


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