HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Re: help/suggestion from all scripters please
Server Management - Systems Insight Manager
1833767
Members
2269
Online
110063
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
Go to solution
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
04-06-2005 07:47 AM
04-06-2005 07:47 AM
Hi. Here is the goal.
On a monitored Win server, there is a txt file that gets appended every night.
I need to have something search that file every night after being ran and if it finds the info in attached file, then send alert to SIM, which in turn can page people.
Is it possible? Any help on how would be greatly appreciated.
Thanks.
On a monitored Win server, there is a txt file that gets appended every night.
I need to have something search that file every night after being ran and if it finds the info in attached file, then send alert to SIM, which in turn can page people.
Is it possible? Any help on how would be greatly appreciated.
Thanks.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2005 10:13 AM
04-06-2005 10:13 AM
Solution
Break the problem up into 3 tasks: the script/logic to examine the file and determine if an action needs to be taken, signalling HP SIM, and having HP SIM distribute the tasks.
I'm sure you could accomplish the first one based on what you already know, although I would suggest if you were thinking batch file you might want to create it in VBscript or Perl rather. Your next step, calling an executable and passing information to it, will be easier to call from one of those.
There are a number of SNMP command line utilities that you can find in a Google search. You will have to either craft a MIB to decode the trap or hijack a trap already within HP SIM that you're unlikely to need (if you don't have any NetWare servers there are many NWALARM MIB items that you could use).
Finally, you can steal ideas about executing your script by examining the demonstration TDEFs posted at http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=680986
I'm sure you could accomplish the first one based on what you already know, although I would suggest if you were thinking batch file you might want to create it in VBscript or Perl rather. Your next step, calling an executable and passing information to it, will be easier to call from one of those.
There are a number of SNMP command line utilities that you can find in a Google search. You will have to either craft a MIB to decode the trap or hijack a trap already within HP SIM that you're unlikely to need (if you don't have any NetWare servers there are many NWALARM MIB items that you could use).
Finally, you can steal ideas about executing your script by examining the demonstration TDEFs posted at http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=680986
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 01:35 AM
04-07-2005 01:35 AM
Re: help/suggestion from all scripters please
Thanks for the info and will look into these ideas and the link.
Yes, a batch file for the first portion was my first idea.
The other two areas I was kind of in the dark, espeically since i Have not modifed or created a MIB yet. Although it is something I would like to be familiar with, so this is a good way to start.
Will, post my success or troubles I enounter for ideas or help.
Yes, a batch file for the first portion was my first idea.
The other two areas I was kind of in the dark, espeically since i Have not modifed or created a MIB yet. Although it is something I would like to be familiar with, so this is a good way to start.
Will, post my success or troubles I enounter for ideas or help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 07:38 AM
02-02-2006 07:38 AM
Re: help/suggestion from all scripters please
Bumped to be above moved questions...
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