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


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/


Relevant Pages

  • Re: Advice needed: If you have 18 hours left, what do you do? (NBC)
    ... David in NYC wrote: ... feel a sense of community and commonality here. ... last horrible, useless, ego-driven war to begin a real march to ending ...
    (rec.music.artists.springsteen)
  • Re: Moral Poverty Cost Blacks in New Orleans (AKA: what have the liberals done to us?)
    ... you mean like in race?? ... > now the whole region is a trap that doesn't have conditions that will let ... > that can rebuild the community if an outside force tries to ... > provide money to rebuild the communities. ...
    (rec.boats)
  • Re: Advice needed: If you have 18 hours left, what do you do? (NBC)
    ... feel a sense of community and commonality here. ...  But without his awful 8 years, a Barack Obama presidency ... last horrible, useless, ego-driven war to begin a real march to ending ... Nicely said, David. ...
    (rec.music.artists.springsteen)
  • Re: dangerous advice?
    ... that Dave is a highly reputable and respected figure in this community. ... | David H. Lipman wrote: ... | You say to turn off my firewall, and then to run your program on my ...
    (microsoft.public.security)
  • Re: Failed Performers
    ... musicians) and decided to get their revenge by making guitars ... raping our community with high prices? ... as guitarists, BTW, David when was YOUR last performance? ... to terms with your slimey slipperiness. ...
    (rec.music.classical.guitar)