- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Re: pause monitoring tool
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-03-2005 09:19 AM
тАО02-03-2005 09:19 AM
pause monitoring tool
1) is there a command line tool to pause monitoring for a specific hostname for SIM 4.2?
2) is there a document file that can help me find answers to questions about the HP SIM command line tools in the future? Hunting on the HP web site and locally on the SIM server proved fruitless for me. :(
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2005 06:32 PM
тАО02-03-2005 06:32 PM
Re: pause monitoring tool
Ad 1)
Yes, but unfortunately not directly. Using the 'mxnode' command with an .XML input file should do the trick. But since you want to make it independant of a node you need to generate the .XML on the moment you need it with the node specific info in it.
Sorry, i do not have an working example for you. Maybe somebody else already tweaked a nifty .BAT or .VBS script.
Ad 2)
On the web (www.hp.com/go/hpsim in the information library area) or on the Management CD itself there is a PDF (hpsim_userguide). Check chapter 11 'HP Systems Insight Manager commands.
Or when you started the SIM GUI go to: Help - For HP Systems Insight Manager - select 'table of contenst' - on that page search for 'command line interface'. There are all the commands and pointers to the specific help of that command.
Regards, Marcel
Marcel Rijsbergen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2005 03:53 AM
тАО02-04-2005 03:53 AM
Re: pause monitoring tool
http://h18004.www1.hp.com/products/servers/management/hpsim/info-library%5Cmxnode.1m.html
(thanks to a google search believe it or not)
That web page provides a detailed manual for the mxnode tool. Given that, I was able to write a quick little perl script that will write an xml file that mxnode can use to control monitoring on a specific host.
Thanks for the pointer to the mxnode command.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2005 06:37 AM
тАО06-17-2005 06:37 AM
Re: pause monitoring tool
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2005 08:30 AM
тАО06-24-2005 08:30 AM
Re: pause monitoring tool
"Suspend/Resume Monitoring" can be done with the mxnode command to modify using an XML file. It would look like this:
mxnode -m -f FILENAME
...with the XML file formatted like:
Where PARAMETER can be suspend, suspend.5m, suspend.15m, suspend.1h, suspend.1d or resume.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2005 01:22 AM
тАО07-19-2005 01:22 AM
Re: pause monitoring tool
And can you select multiple systems to apply it to? I think this maybe exactly what one of my customers is looking for.
Thans,
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2005 01:59 AM
тАО07-19-2005 01:59 AM
Re: pause monitoring tool
I'm not sure what you are asking for in regards to "incorporating" the script. Scripting the HP tool mxnode has nothing to do with the insight manager environment or menus. It's just a convenient method for using the mxnode tool. I don't think you can create custom menus in the insight manager interface, but I'm not the expert in that realm.
You can use the same HP tool (mxnode) in a simple batch script to achieve the same thing and then use another file that contains a list of host names which is read in by the executing script, but you have to be familiar the proper cscript commands to do that. One help I can offer is type in the command "for /?" to begin to understand how to create a scripting loop that runs the mxnode command against a list of host names.
Something like this below would be a good example, but I'd recommend you tinker with it to understand it better before implementing it for a client:
@echo off
set logfile=settrigger.txt
set hostfile=hostfile.txt
for /F "tokens=1" %%i in (%hostfile%) do call :settrigger %%i
goto end
:settrigger
if '%1'=='' goto :end
set hostname=%1
ping -n 1 %hostname%
:end
Hope that helps,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2005 02:15 AM
тАО07-19-2005 02:15 AM
Re: pause monitoring tool
That is out of my league for sure and turns to not be what I was looking for, but thank you for the time.
- Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2006 07:30 AM
тАО02-02-2006 07:30 AM
Re: pause monitoring tool
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2007 06:19 PM
тАО06-19-2007 06:19 PM
Re: pause monitoring tool
There are two scripts:
The small one (in this response) is mentioned to put in the netlogon share of the domain: SrvSuspendMonitoring.vbs
I created a domain policy onto the OU where our servers are located in, where this script is executed while shutting down and starting up the servers with the corresponding parameters
- startup: SrvSuspendMonitoring.vbs /Mode:"resume"
- shutdown: SrvSuspendMonitoring.vbs /Mode:"suspend.15m"
You have to modify this file in the following way:
Between line 25 and 29, you have to provide the corresponding informations.
Please remeber to create an encrypted vbe- File out of this vbs, because everyone has read access to the netlogon share!!
We are using a domain user without any resources graned except local administrator on the HP SIM machine....
the bigger one (in the next response) has to be located on the HP SIM computer and runs the mxnode utility twice:
The first time it does a mxndoe -lf servername
The second time it does the mxnode -m -f xmlfile.xml
If a node is in on of the following modes suspend, supsend.1h or suspend.1d; there will no action taken, becaus we assume that the node is in maintenance.
Hope this helps someone..
Regards Jimmy