HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- HP SMH - Setting thresholds using the command line
Server Management - Systems Insight Manager
1833078
Members
2746
Online
110050
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
05-03-2011 05:11 AM
05-03-2011 05:11 AM
HP SMH - Setting thresholds using the command line
Hey guys,
I needed to batch set the thresholds for 'Logical Disk Busy' time and wanted to do it via a script. The problem with doing it in SIM is using a replicate agent settings or the like is that different servers have different numbers of logical disks etc.
I had a look at the applet that the SMH uses and noticed that this submits threshold information entered to a .php file. Examining the .php files lead me to the .exe that is actually used to set the thresholds, namely, 'C:\hp\hpsmh\data\smhutil\csginkgo.exe'. This application takes a text file as imput i.e.
C:\hp\hpsmh\data\smhutil\csginkgo.exe -freset_all.txt
Now, the txt file has this format from what i can tell (and it unicode i think also!)
.<# indicating which disk to set> .<# indicating which disk to set> setleaf
i.e. (wrapped text!)
.1.3.6.1.4.1.232.19.2.8.2.1.7.2 .1.3.6.1.4.1.232.19.2.8.2.1.7.2 setleaf 10
.1.3.6.1.4.1.232.19.2.8.2.1.8.2 .1.3.6.1.4.1.232.19.2.8.2.1.8.2 setleaf 40
Would set a warning of 10 and a critical of 40.
Very useful! :)
I needed to batch set the thresholds for 'Logical Disk Busy' time and wanted to do it via a script. The problem with doing it in SIM is using a replicate agent settings or the like is that different servers have different numbers of logical disks etc.
I had a look at the applet that the SMH uses and noticed that this submits threshold information entered to a .php file. Examining the .php files lead me to the .exe that is actually used to set the thresholds, namely, 'C:\hp\hpsmh\data\smhutil\csginkgo.exe'. This application takes a text file as imput i.e.
C:\hp\hpsmh\data\smhutil\csginkgo.exe -freset_all.txt
Now, the txt file has this format from what i can tell (and it unicode i think also!)
i.e. (wrapped text!)
.1.3.6.1.4.1.232.19.2.8.2.1.7.2 .1.3.6.1.4.1.232.19.2.8.2.1.7.2 setleaf 10
.1.3.6.1.4.1.232.19.2.8.2.1.8.2 .1.3.6.1.4.1.232.19.2.8.2.1.8.2 setleaf 40
Would set a warning of 10 and a critical of 40.
Very useful! :)
If my post was helpful please award me Kudos! or Points :)
- Tags:
- SMH
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP