Hi Guys,
just to let you know, how I solved this issue. I was quite busy therefore
sorry for my late mail. I could solved this through using the event-option.
I do not have to write an op script, because the event-option does everything I
need.
I wrote an event-option, which is triggered, if the event occures. I do not
have to poll
for it and the event-option can also raise a snmp trap.
Here an example for an event-option, which is triggered when everytime a user
change the configuration for chassid.
policy FPC-PLANE {
events CHASSISD_PARSE_COMPLETE;
attributes-match {
CHASSISD_PARSE_COMPLETE.message matches complete;
}
then {
raise-trap;
}
}
Regards,
Ahmad
> -----Ursprüngliche Nachricht-----
> Von: Cheikh-Moussa, Ahmad
> Gesendet: Sonntag, 27. September 2009 18:12
> An: '[email protected]'
> Betreff: Event / OP Script
>
> Hi Guys,
>
> I try to write an event script, but the documentation I have found is
> not really well.
> Did someone wrote an event/op script ?
>
> Can someone point me out, how can I write an op script, which is
> triggered by an event (timer) ?
> I try something like show chassis fpc and search for a special string
> within the output.
> Has someone an example ?
>
> Thanks in advance,
> Ahmad
>
>
> Ahmad Cheikh-Moussa
> Consultant
> Business Unit Carrier & Service Provider
>
> AXIANS
> NK Networks & Services GmbH
> Fischertwiete 2, Chilehaus A
> 20095 Hamburg
>
> Tel.: +49 40 237 899 - 72
> Fax: +49 40 237 899 - 69
>
> [email protected]
> [email protected]
> [email protected]
> www.axians.com
Sitz der NK Networks & Services GmbH: Von-der-Wettern-Straße 15, 51149 Köln
Registergericht: Amtsgericht Köln, Registernummer HRB 30805
Geschäftsführer: Tonis Rüsche
_______________________________________________
juniper-nsp mailing list [email protected]
https://puck.nether.net/mailman/listinfo/juniper-nsp