- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: How To Capture SNMP Messages
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
Forums
Discussions
Discussions
Discussions
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
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-14-2006 03:30 AM
02-14-2006 03:30 AM
We have a printer that sends out SNMP messages regarding it's status (an OCE 3110).
Is it possible to capture and interrogate these messages from VMS?
Rob.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 03:56 AM
02-14-2006 03:56 AM
Re: How To Capture SNMP Messages
Or write a program yourself.
Or use cockpit of HP.
Remember : it sends it once. If the UDP packet is lost, you loose your alarm.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 08:39 PM
02-14-2006 08:39 PM
Re: How To Capture SNMP Messages
Is there anyone willing to work with me offline, to get the process working?
Thanks, Rob.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 11:09 PM
02-14-2006 11:09 PM
Re: How To Capture SNMP Messages
I wrote a procedure some time ago, which does the following:
- it receives traps sent do this machine's address
- If the trap contains a specific oid the procedure extracts the text from the trap and sends it by email to me.
If you think this procedure could help you to solve your problem, so just let me know and I can attach the stuff
Regards
Heinz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 11:12 PM
02-14-2006 11:12 PM
Re: How To Capture SNMP Messages
Please can you email to ratkinson/at/tbs-ltd.co.uk
Cheers, Rob.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 11:22 PM
02-14-2006 11:22 PM
SolutionThe procedures are very small
You have to replace the device name and the directory name in all the commandfiles
START_TRAPRECEIVE.COM
$ run sys$system:loginout.exe -
/detach -
/input=GFR_TOOLS:[TRAPRECEIVE]trapreceive.com -
/output=GFR_TOOLS:[TRAPRECEIVE]trapreceive.log -
/error=GFR_TOOLS:[TRAPRECEIVE]trapreceive.log -
/process_name="TrapRCV"
TRAPRECEIVE.COM
$ SET NOON
$ PIPE mc TCPIP$SNMP_TRAPRCV.EXE | @GFR_TOOLS:[TRAPRECEIVE]tee
$ EXIT
TEE.COM
$ SET NOON
$ set verify
$ proc=F$ENVIRONMENT("PROCEDURE")
$ def_dir=F$PARSE(proc,,,"DEVICE") + F$PARSE(proc,,,"DIRECTORY")
$ set def 'def_dir'
$ DEFINE SYS$SCRATCH 'def_dir'
$loop:
$ READ/END_OF_FILE=clean_up SYS$PIPE line
$ IF F$LOCATE("1.3.6.1.4.1.1339 =",line) .EQ. F$LENGTH(line) THEN GOTO loop
$ text = F$EXTRACT(19,F$LENGTH(line)-19, line)
$ write sys$output text
$ mail/Subject="''text'" nl: smtp%"genhart@gfr.ch"
$ GOTO LOOP
$clean_up:
$ EXIT
If You have any questions, please let me know. The procedures are not very sophisticated, but they worked fine for me to solve my problem
Regards
Heinz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 01:11 AM
02-20-2006 01:11 AM
Re: How To Capture SNMP Messages
Could you solve the problem ?
Regards
Heinz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 01:16 AM
02-20-2006 01:16 AM
Re: How To Capture SNMP Messages
In the end, I ended up with a routine like this :-
$GET_STATUS:
$ PIPE SNMP_REQUEST FTG'QUEUE' "oce_read" get 1.3.6.1.2.1.43.16.5.1.2.1.1 > SYS$TEMP:MONIOCE_'QUEUE'.TMP ! Get overall status
$ !
$ OPEN /READ INFILE SYS$TEMP:MONIOCE_'QUEUE'.TMP
$ READ INFILE INDATA
$ CLOSE INFILE
$ !
$ DELETE /NOLOG SYS$TEMP:MONIOCE_'QUEUE'.TMP;*
$ !
$ STATUS = F$EDIT(F$ELEM(1,"=",INDATA),"TRIM")
$ !
$ WS "%UMO-I-STATUS, ''QUEUE' showing '" + "''STATUS'" + "'"
$ !
Cheers, Rob.