- Community Home
- >
- Networking
- >
- IMC
- >
- Re: run script on recovery of some alarm
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2018 07:20 AM
11-26-2018 07:20 AM
run script on recovery of some alarm
hi, i've create a syslog template that create an alarm when i port go in err-disabled for portsecurity sticky. i've create a script to deploy on configuration center to unblock the port i i can pass the port umber and switch name to variable. Now i'd like to create a rule that execute the specific script to allarmed port (for cisco blocked port i want to run script on recovery) is possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2018 10:03 PM
11-26-2018 10:03 PM
Re: run script on recovery of some alarm
Hello,
Please check below links which could be of help.
https://support.hpe.com/hpsc/doc/public/display?docId=mmr_kc-0131226
https://community.hpe.com/t5/IMC/How-to-create-a-CLI-script-and-general-questions/td-p/6798650#.W_zd3-gzaM8
https://community.hpe.com/t5/IMC/CLI-Script-with-dynamic-variables/td-p/6905618#.W_zdy-gzaM8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2018 01:02 AM
11-27-2018 01:02 AM
Re: run script on recovery of some alarm
no one of this can help me.... I've created a cli script to recovery portsecurity disabled port..... the script work. now i want to execute this script when recover a type of alarm...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2018 05:49 AM
11-27-2018 05:49 AM
Re: run script on recovery of some alarm
Have you tried using 'Intelligent Policy Center'? There is not much documentation on this subject, but sometimes I have tried to do tests, I have had 50% success. I would like the HPE team to improve the functions of this utility and explain better how to use more variables or parameters in our favor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2018 12:40 AM
11-28-2018 12:40 AM
Re: run script on recovery of some alarm
policy center can trig only snmp event ....i have to run script from an alarm generated from syslog template event..... there is a solution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2018 06:01 AM
11-28-2018 06:01 AM
Re: run script on recovery of some alarm
Hi,
Let say that your Syslog to Alarm name is "recover err-disabled". Then you can use it on Policy Center.
Add an event and select Alarms: "Trap upgraded from syslog" <-- that is the actual name.
Then on the "Alarm Variable Matching Rules" section add the following:
1. Alarm Variable Name: "Rule Name"
2. Regular Expression: "recover err-disabled".
That is the way to trigger syslog to alarm events.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2018 03:35 AM
11-29-2018 03:35 AM
Re: run script on recovery of some alarm
you are my hero!!!
now i can 'trigger' the port blocked alarm to event of intelligent policy center .... but where can i found some documentation to create an action that run my cli script to the alarm source device on the blocked port (variable $port on my syslog to alarm)??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2018 03:18 AM
11-30-2018 03:18 AM
Re: run script on recovery of some alarm
i want to run script only when recover error... now i'. using "Trap upgraded from syslog" and is not good ....i see that there is "Recover trap upgraded from syslog" but if i set this event configuration with the same rule name not wont to work....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2018 06:25 AM
11-30-2018 06:25 AM
Re: run script on recovery of some alarm
Sorry I don't have the answer for how to run the script using the variables from a specific alarm.
Like I said before, Intelligent policy center have a lack of documentation and in my opinion is still on beta.
One question: Why don't you create the auto recovery on the Cisco itself ex: "errdisable recovery interval xx"?