Re: SNMP Commands (was Re: How do I monitor the CPU temperature in an ES40 running OpenVMS 7.3-1?
From: David J. Dachtera (djesys.nospam_at_fsi.net)
Date: 07/08/03
- Next message: David J. Dachtera: "Re: SNMP Commands (was Re: How do I monitor the CPU temperature in an ES40 running OpenVMS 7.3-1?"
- Previous message: David J. Dachtera: "Re: SNMP Commands (was Re: How do I monitor the CPU temperature in an ES40 running OpenVMS 7.3-1?"
- In reply to: briggs_at_encompasserve.org: "Re: SNMP Commands (was Re: How do I monitor the CPU temperature in an ES40 running OpenVMS 7.3-1?"
- Next in thread: David J. Dachtera: "Re: SNMP Commands (was Re: How do I monitor the CPU temperature in an ES40 running OpenVMS 7.3-1?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 07 Jul 2003 20:11:00 -0500
briggs@encompasserve.org wrote:
>
> In article <1ca82fc6.0307061815.45694de9@posting.google.com>, dooleys@snowy.net.au (dooley) writes:
> > "David J. Dachtera" <djesys.nospam@fsi.net> wrote in message news:<3F0878CE.889AB110@fsi.net>...
> >> Verne wrote:
> >> >
> >> > >
> >> > >[snip]
> >> > >
> >> >
> >> > Don't know if this would help, but once I tried some SNMP stuff, and
> >> > from the on-line help (HELP MULTI SHOW /SNMP) and the Info-Multinet
> >> > mailing list archives at www.process.com, I came up with (perhaps a
> >> > trivial example):
> >> >
> >> > mul show /snmp=11.22.33.44/mib=mib-2.43.10.2.1.4.1.1
> >> >
> >> > and
> >> >
> >> > mul show /snmp=11.22.33.44/mib=enterprises.11.2.3.9.4.2.2.10.2.1.4.1.1
> >> >
> >> > to see the lifetime page counter on a printer... at least this works
> >> > on newer HP JetDirect-attached printers, such as the LJ5, LJ4000 and
> >> > the LJ2100 (would not work on a III or IV).
> >> >
> >> > Sorry, but I forget where I got the MIB variable 'id' from :-(
> >>
> >> Yeah - discovered those ages ago.
> >>
> >> $ MULT SHOW/CONN/SNMP=x.x.x.x/MIB_VAR/OUT=filespec
> >>
> >> ...will list out all the MIB varaibles on the target node and their
> >> current values.
> >>
> >> O.k. Let me try this another way:
> >>
> >> I'm looking for a way - from a VMS system running Multinet - to send a
> >> SNMP trap to a "foreign" system monitoring center (at work, they're
> >> trying to use Cisco's CIC).
> >>
> >> Does *THAT* help?
> >>
> >> I *DON'T* want to use the VMS system examine other systems, I want the
> >> VMS system to be able to alert a "foreign" system when some bit of
> >> system administrivia goes awry (disk fills up, shadow-set member gets
> >> dropped, backup job fails, etc.).
> >>
> >> Does *THAT* help?
> > Your "foreign" system admin should be able to tell you -
> > the ip address of the system that will receive the trap
> > the community name to use
> > the port to use (162?)
> > the "enterprise" (compaq is 1.3.6.1.4.1.232.)
> > the oid to use within 232 to indicate disk full or whatever
> > use this link to identify "enterprises"
> > http://www.alvestrand.no/objectid/1.3.6.1.4.1.html
>
> The key piece that David is missing is not the community string,
> MIB variable or UDP port number. It is a piece of software
> that would allow _traps_ to be _sent_ from Multinet.
*AT* *LAST*!!!! SOMEone who understands the question!!!!
> One way to go would be to write a program to format the UDP datagam
> and send it yourself. Once you come up to speed on the ASN.1
> coding conventions, this would not be much work. But coming up
> to speed can be a pain.
>
> David -- I have some very old software that I wrote in C that
> does SNMP gets and sets under Multinet ($QIO interface). It's
> "roll your own" code and includes pieces which do the ASN.1
> formatting for the outbound SNMP requests and ASN.1 parsing for the
> resulting responses. It's huge, site specific and pretty ugly but it
> should have most of the support routines you would need to use to
> craft a trap datagram. And the comments contain pretty much
> everything I know about ASN.1. E-mail me if you want a copy.
A very gracious and generous offer. Many thanx. See Richard Whalen's
reply at another point in this thread...
-- David J. Dachtera dba DJE Systems http://www.djesys.com/ Unofficial Affordable OpenVMS Home Page: http://www.djesys.com/vms/soho/
- Next message: David J. Dachtera: "Re: SNMP Commands (was Re: How do I monitor the CPU temperature in an ES40 running OpenVMS 7.3-1?"
- Previous message: David J. Dachtera: "Re: SNMP Commands (was Re: How do I monitor the CPU temperature in an ES40 running OpenVMS 7.3-1?"
- In reply to: briggs_at_encompasserve.org: "Re: SNMP Commands (was Re: How do I monitor the CPU temperature in an ES40 running OpenVMS 7.3-1?"
- Next in thread: David J. Dachtera: "Re: SNMP Commands (was Re: How do I monitor the CPU temperature in an ES40 running OpenVMS 7.3-1?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|