On Fri, Jul 09, 2010 at 09:39:36AM +0200, espiteri wrote:
> We want to filter configuration collection only for the switch where
> the event "configuration change" occurs.
That would be finding the right event from a syslog message and using 
a trigger off it.

> understand how to set the fieds "internal parameters" and "user
> parameters".
User parameters are used to set fields that the user can set.

Have a look at Administration -> Triggers & Filters -> Action Definition
The user paramters are set here which is a comma-separated list of
Label:variable pairs.

The go to Administration -> Triggers & Filters -> Triggers Configuration
find a trigger and click 'View Rules'
If one of the rule line is an action, say Send Mail then the parameters
column becomes enabled, the list of parameters here are the ones you
set in the previous screen.

So the next thing is what fields can you put here?
Have a look at http://www.jffnms.org/docs/expanding.html#sec:commonparms
for a list of some of them.

The internal parameters are filled out similiarly.

You can probably fill in the fields from either column but internal
parameters are specific to the action, eg a 'send email' action needs
a email address to send to.

A event definition uses this action, but needs to set the subject,
because many different events can send emails so we need to set the
subject here.

If I was writing a copy the config action I would be using
event-host_ip.

 - Craig
-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/                             csmall at : enc.com.au
http://www.debian.org/          Debian GNU/Linux, software should be Free 

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to