Hello Jonathan, list, I never used the mentioned MIB part but if you've already the OID what about using ModelTypeEditor?
- new attribute in modeltype GnSNMPDev (in order to have it on all SNMP devices) - attribute has OID 1.3.6.1.4.1.2021.69.100.1 Hope this helps. Regards, Marcel On Fri, Oct 16, 2009 at 11:49 AM, ROUSSEAUX Jonathan <[email protected]> wrote: > > Hello, > > > > I’m trying to use the UCDavis Extensible section to monitor various stuffs. > > > > I use a script that return 0 or 1 > > > > In the snmpd.conf: > > > > exec .1.3.6.1.4.1.2021.69 myCheck /bin/sh mycheck.sh > > > > If I do a get on 1.3.6.1.4.1.2021.69.100.1 I’ve the result returned by my > script. > > > > Then my problem is to map the result in Spectrum because I need a MIB for > that. > > > > > > I tried the following: > > > > bastesterrs OBJECT IDENTIFIER ::= { ucdavis 69 } > > > > bastesterrIndex OBJECT-TYPE > > SYNTAX Integer32 > > MAX-ACCESS read-only > > STATUS current > > DESCRIPTION > > "Bogus Index for bastesterrs (always 0)." > > ::= { bastesterrs 1 } > > > > bastesterrNames OBJECT-TYPE > > SYNTAX DisplayString > > MAX-ACCESS read-only > > STATUS current > > DESCRIPTION > > "bastest" > > ::= { bastesterrs 2 } > > > > bastesterrErrorFlag OBJECT-TYPE > > SYNTAX Integer32 > > MAX-ACCESS read-only > > STATUS current > > DESCRIPTION > > "A Error flag to indicate trouble with the agent. It > > goes to 1 if there is an error, 0 if no error." > > ::= { bastesterrs 100 } > > > > bastesterrErrMessage OBJECT-TYPE > > SYNTAX DisplayString > > MAX-ACCESS read-only > > STATUS current > > DESCRIPTION > > "An error message describing the problem (if one exists)." > > ::= { bastesterrs 101 } > > > > > > > > But this doesn’t work and I’ve a snmp error: noSuchName > > > > Does anyone have an idea for that? > > > > > > Thanks in advance, > > ___________________________________________________________ > Jonathan Rousseaux > Operations Support - Network and System Management > Axa Tech NESD > > Postal Address: > Bd du Souverain, 25 - B-1170 Bruxelles, Belgium > Int.Post: W04/687 > > Visitors Address: > Avenue Marcel Thiry, 208 - B-1200 Bruxelles, Belgium > > [email protected] > Tel. : +32 2 62 29 045 - Fax : +32 2 62 29 110 > > > > > > -----Disclaimer----- > > This message may contain confidential information intended solely for the use > of the named addressee. If you are not > the intended recipient, you should not read, use, disclose or reproduce the > content of this message. If you have > received this message by mistake, please notify the sender immediately. Any > views or opinions presented in this > message are solely those of the author and do not necessarily represent those > of AXA Belgium, AXA Bank Europe, > AXA Tech Belgium GIE - ESV or any other entity of the AXA Group, unless > otherwise stated by the sender and duly > authorized by the said companies. > > --------------------- > > --To unsubscribe from spectrum, send email to [email protected] with the body: > unsubscribe spectrum [email protected] --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected]
