- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Writing tcpip service to monitor VMS node
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
тАО03-26-2011 07:55 AM
тАО03-26-2011 07:55 AM
Writing tcpip service to monitor VMS node
My ultimate goal is to write something that i can attach to with perl from a Linux system for proactive monitoring. The Linux side will be running Nagios. I have tried and tried to get the NRPE agent running on VMS and cannot.
I would like to be able to initiate a socket connection from Linux and pass in a COM file that will be run from a specific directory and then write back to the tcpip device/sys$net.
Any help is GREATLY appreciated. I have posted before and gotten complex answers. I am aiming for simplicity and I know that it can easily be achieved in VMS!
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2011 11:05 AM - last edited on тАО07-12-2011 11:14 AM by Kevin_Paul
тАО03-26-2011 11:05 AM - last edited on тАО07-12-2011 11:14 AM by Kevin_Paul
Re: Writing tcpip service to monitor VMS node
There are several existing threads that appear to be previous parts of your quest here, including involving NRPE errors, AgentX and SNMP, and there's an example of using telnet to chat with DCL in one of the threads here:
http://h30499.www3.hp.com/t5/Networking/Creating-a-port-listening-service/m-p/4689464#M9422
As for using telnet as a transport, programs aren't users, and programs have a difficult time with user-focused data and with having to scrape data and layouts intended for users. VMS is particularly nasty here, as many of the common tools format the screens using (as you've discovered) ANSI control sequences. Screen-scraping may be a last resort, but it's seldom a first resort. It gets ugly.
Beyond the DCL example from that earlier thread (and this if you're going to create your own tools), have a look at the TCPIP$EXAMPLES: example programs, and have a look at most any hunk of perl that chats on a network. The examples can allow you to monitor whatever you like.
Here's a high-level overview of using Perl with networking:
http://www.techrepublic.com/article/solutionbase-set-up-customized-network-monitoring-with-perl/5149529
I'd probably sort out whatever was wrong with NRPE or the other attempts, as writing new code for an old problem tends to make for a larger problem.
There are a few existing monitoring tools around, and here is a brief list of some of the packages:
http://www.slac.stanford.edu/xorg/nmtf/nmtf-tools.html
Here's an introduction to accessing an OpenVMS SNMP MIB from a Mac OS X box:
http://labs.hoffmanlabs.com/node/1117
There's a good intro to SNMP linked from there. (Now there appear to be issues with network performance and connectivity in your environment, and that can derail SNMP?)
The HP tools tend to be based on SMH or derivatives.
While I don't have any remote-monitoring tools for VMS posted (I do have some syslog stuff, but that will require some hackery), I'd be surprised if there aren't some tools posted around the 'net.
http://vouters.dyndns.org/tima/All-OS-snmp-director-tool.html
There are (were?) various commercial products, as well:
http://www.ca.com/files/productbriefs/nsm-system-monitoring-openvms-pb_197554.pdf
Personally? I'd probably first look to sort out the Nagios NRPE problem.
> Any help is GREATLY appreciated. I have posted before and gotten complex answers. I am aiming for simplicity and I know that it can easily be achieved in VMS!
Unfortunately, VMS just isn't as simple nor as easy as other platforms. What are stock features and capabilities on other platforms will often require the system manager and often a programmer to create custom code and product installations and reconfigurations with VMS. Put another way, this is why you're getting complex answers. There aren't simple (free) ones.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2011 07:55 PM
тАО03-26-2011 07:55 PM
Re: Writing tcpip service to monitor VMS node
cu,
Martin