Hi Darren,

Sorry for the delay.

Mini SLAs are being deprecated in 0.7.8, so don't use them.

The trigger should read something like this:

if type equal SLA then Send Email

Or

If type equal SLA AND
if host is in (Host List selected) then Send Mail


Can you put here what does your trigger say?

The triggers get executed when a new event or alarm (depends on the trigger type) is added.

So, if you set an alarm trigger matching for type 'SLA', it will get called and verified every 30 minutes when a new SLA event is created.

The JFFNMS Manual (in the site) specifies how triggers and SLAs are created.

So, if you see a SLA in the event screen, the SLA is correct, and the problem is in the trigger, and if you don't then the problem is in the SLA.

You can debug slas by executing:

cd /opt/jffnms/engine
php -q rrd_analizer.php <interface_id>

The output will show you the SLA and the trigger processing.

Hope that helps.

Javier

Darren Gibbs wrote:
Javier.

I've done that - I have a trigger which worked if condition 1 OR condition 2
exists, and I'm still not getting alerts.

I've also tried setting the SLA as a mini-sla, as someone else suggested,
and nothing.

Is there a minimum delay or time a condition must exist before an alert
occurs?

Or perhaps I have the format fo the SLA rules wrong? I can't find much
documentation as to the correct format - I've based it on some of the other
existing rules as best I can - is there a link somewhere as to how to write
SLA rules properly?

Darren Gibbs

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Javier
Szyszlican
Sent: Friday, 18 June 2004 9:51 PM
Cc: [EMAIL PROTECTED]
Subject: Re: [jffnms-users] Getting a threshold to send an email alert


Darren,


What you did is ok, but you also have to create a Trigger to match
SLA events, and then associate a profile (with email address) to that trigger (in the Triggers Users screen).


When the SLA is processed, every 30 minutes, an event will be
created if the SLA matched, then the trigger analizer (internal) will run over that event, if a Trigger is set to match that kind of event, and email will be sent to all the profile assoicated with that trigger.


        You should read the Manual section about Triggers.

Hope that helps.
Javier

Darren Gibbs wrote:

Folks.

I'm having some difficulty in fathoming out what I need to do to get jffnms to send me an email alert if a certain condition is met.

The condition I wish to monitor is that if the inbound or outbound traffic on a given datalink exceeds 10% utilisation, then send an email advising of that fact.

I've written an SLA condition individual definition for each traffic direction, following what I *think* will work, and added an SLA condition group with both of the rules in it, and I've also set the interface concerned to have this condition group as its SLA, but the email still doesn;t work.

What more do I have to do? Or am I shooting at this from completely the wrong angle?

Thanks.

*Darren Gibbs*
Senior Network Engineer

* Sky Channel*
                        
        Phone:  +61-2-9975-0344         
        Fax:    +61-2-9975-6443         
        Mobile:         0422-005-541    
        SW Board:       +61 2 9451 0888         
        Email:  [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>




Visit our website http://www.skychannel.com.au <http://www.skychannel.com.au/>




---
"This message and any attachment to it is intended for the use of the individual or entity to whom it is addressed by the first sender and contains information which may be confidential and/or privileged.


If you receive this message and any attachment in error, please delete it immediately and notify the sender by electronic mail or telephone (61 2) 9451 0888. Unless you have been expressly authorised by the sender, you are prohibited from copying, distributing or using the information contained in this message and any attachment.

Sky Channel (ABN 77 009 136 010) is a part of the Tab Limited Group. Sky Channel is not responsible for any changes made to this mesage or any attachments other than those made by Sky Channel, or for the effects of changes made by others on the meaning of this message and any attachment.

Sky Channel does not represent that any attachment is free from computer viruses or defects and the user assumes all responsibility for any loss, damage or consequence resulting directly or indirectly from the use of any attachment.



-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Javier Szyszlican, Project Leader, JFFNMS [EMAIL PROTECTED]

I hope JFFNMS or I were helpful to you, if you
can, please donate at http://jffnms.org/donate



-------------------------------------------------------
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
_______________________________________________
jffnms-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to