Dynamic NA task after Receiving Specific Syslog message (314 Views)
Respected Contributor
Posts: 301
Registered: ‎12-11-2011
Message 1 of 3 (314 Views)

Dynamic NA task after Receiving Specific Syslog message

Hello ,


we have issue regarding HSRP protocol , that one of distribution switches has Memory error and CEF is down and MPLS service went down , but the services for the devices went down because of that and HSRP didn't transferred to the standby Distribution switch , as the HSRP has to meet some conditions to transfer to the second switch mentioned below :

HSRP will trigger a failover during an physical interface (10 gig port) down, virtual interface (VLAN) down or a complete switch outage.

so i am planning to match these conditions through the help of HP NA , if there are Memory Fragmentation Error it will send syslog message to HP NA , so i would like to do dynamic task to shutdown one vlan or Ten giga interface so i can match one of the HSRP failover conditions .


is there are any task that i can do it like that after receiving Syslog message to run command script to shutdown interface !!!



any help will be grateful

All the best .
Saying Thanks by hitting Kudos :)

Mostafa Hassan
HP Expert
Posts: 274
Registered: ‎05-24-2012
Message 2 of 3 (260 Views)

Re: Dynamic NA task after Receiving Specific Syslog message

Hello Mostafa,


You can add your Syslog pattern to the list in NA Admin settings. 


Then each time NA receives that Syslog, it will trigger a snapshot on the device. 

After this step, we will add a New Event Notification & Response Rule:


when the following events occur Device Snapshot, 

- on devices in this Partition and in these groups X,

- to take this action: Run task

- wait  X seconds  and then run this task: Run Command Script.


Let us know on the above.


Thanks and regards,


Frequent Advisor
Posts: 64
Registered: ‎10-16-2012
Message 3 of 3 (122 Views)

Re: Dynamic NA task after Receiving Specific Syslog message

Hi All


I got a same requirement, in fact - when a device is being rebooted (cold start-Syslog), so no NA task is involved.


After the device has been fully loaded, a clear session command should be executed on the device.


Is there any possibility to create tasks after selected syslog messages?


It's not my goal to execute the task after the snapshot has been taken, since all end user will loose their connections after executing the clear sessions command on the device. I will filter that to run only after cold starts.


Thank  you in advance


Best Regards,


If this post was useful to you, please hit the like button and may accept it as solution. Thank you :-)

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.