- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Re: Setting up a script to include and exclude ser...
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
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
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
тАО02-01-2005 12:46 AM
тАО02-01-2005 12:46 AM
In our current environment we use Openview and we have a .ini file that we use to include and exclude servers from paging everytime they are rebooted. By default all our servers are included in this .ini file but when we do a planned outage we exclude the server from this file by simply rem it out.
Now that we have intalled HP SIM 4.2, everytime we need to exclude a server we need to go under Automatic Event Handling\Manage tasks\The task and then the whole 6 steps to edit the task and exlcude the server.
Is there a script that somebody has out there or knows of a different way to include/exclude the servers instead of this lenghty one.
Any help is appreciated!!!
Thanks
Punsac
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2005 02:30 AM
тАО02-01-2005 02:30 AM
Re: Setting up a script to include and exclude servers from paging.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2005 12:30 AM
тАО02-02-2005 12:30 AM
Re: Setting up a script to include and exclude servers from paging.
Is there any script that I can use as well for this purpose? Like have it read from a file using the custom command or is it too complicated?
Another thing, while adding or editing a task, do we have to go through all the 6 steps even if we need to just change one thing? Is there a way to just edit one field?
Thanks again!
Punsac
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2005 02:59 AM
тАО02-02-2005 02:59 AM
Solutionmxnode -m -f FILENAME
...with the XML file formatted like:
Where PARAMETER can be suspend, suspend.5m, suspend.15m, suspend.1h, suspend.1d or resume.
For the other, you might want to use 'mxtask' to output an XML config file that you can edit and re-insert. See http://www.hp.com/go/hpsim --> Information Library --> mxtask.1m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2005 03:04 AM
тАО02-02-2005 03:04 AM
Re: Setting up a script to include and exclude servers from paging.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2005 06:14 AM
тАО02-02-2005 06:14 AM
Re: Setting up a script to include and exclude servers from paging.
I have a script that formats the message but also reads a file which is a list of servers to exclude. I just edit the server list to stop the notifications. All done in perl.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2005 06:47 AM
тАО02-02-2005 06:47 AM
Re: Setting up a script to include and exclude servers from paging.
Is it possible for you to send me a copy of that script (general, without server names etc). I don't know perl but maybe I can check with my team and show them the script example and ask them to write something similar for us. Also, the custom command to execute it.
Let me know if its possible.
Thanks!
Punsac
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2005 05:25 AM
тАО04-18-2005 05:25 AM
Re: Setting up a script to include and exclude servers from paging.
The mxnode -m -f c:\Whatever.xml method works great when run locally on the SIM server.
However, is there an easy way to run this script remotely from another server? I'm trying to set up a web-page that will allow one to suspend monitoring on a server for 15 minutes.
I can use the WshController object if necessary, but I was wondering if HP put in some remote capabilities into their command-line tools for SIM.
Thanks for any help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2005 06:03 AM
тАО04-18-2005 06:03 AM
Re: Setting up a script to include and exclude servers from paging.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2007 01:04 PM
тАО11-24-2007 01:04 PM
Re: Setting up a script to include and exclude servers from paging.
Where PARAMETER can be suspend, suspend.5m, suspend.15m, suspend.1h, suspend.1d or resume.
Has anyone tested something like suspend.6h or suspend.3d? Sometimes we need to suspend monitoring for longer than an hour but less than a day... or longer than a day, but less than infinity...
We like the auto-resumption of monitoring, but we'd really like to see a bit more flexibility with it.