Event ID

Horvath Tamas zsitfa at axelero.hu
Mon Jul 5 21:06:49 CEST 2004


Hi Jason!

Thanks the idea!

One last question: if I run md5sum twice for the same data it will
produce the same output? This is important us to provide the same ID for
same notifications which will be sent by SMS and by e-mail?

I don't know much about MD5 tools, but I will read about it and try to
use!

Thanks again, Tamas!

2004-07-04, v keltezéssel James Kingston ezt írta:
> 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