Hi Dirk,

In that case I will temporarily cease posting. If everyone else follows my
example you'll have more time for development! :) LOL

Ali


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Dirk Bulinckx
Sent: 17 September 2004 17:02
To: [EMAIL PROTECTED]
Subject: RE: [SA-list] Enumerated values in SNMP check?


There are 2 options (both for v5.x :-))
        * (in v5.0) scripting of the output -> you will be able to have
Servers Alive execute a script and this script can then transform the
received value (from the check) into something different
        * (in v5.x) integration with the MIB files -> SA will be able to
retrieve the real name/string associated with the returned number IF you
have compiled the MIB file into the MIB files collection of Servers Alive.
This *could* be in v5.0 it will depend on how far we get with the dev. of
this part.


Dirk.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Alistair Francis
Sent: Friday, September 17, 2004 2:40 PM
To: Servers Alive
Subject: [SA-list] Enumerated values in SNMP check?

Hi all,

Anybody got any ideas on how to get SA to return the Enums from an OID in an
SNMP check? If I use GetIf and walk the OID in question, it shows "onLine".
Whereas, when I do an SNMP check in SA it gives me 2. I realise that this is
the integer value which is stored. I just wondered if there was a way to
return the textual representation as shown in the GetIf Enums drop-down. The
reason being I'd much rather send an alert (winpopup/e-mail) saying "The UPS
changed status to onBattery" than "The UPS changed status to 3".

Thanks,
Alistair Francis
Systems Administrator
Comm Express Services SA (PTY) LTD
TEL:    +27 (0)11 475-5567
FAX:   +27 (0)11 475-6238
CELL: +27 (0)82 608-0181
The information contained in this electronic mail message is confidential to
the Matragon group of companies and may enjoy legal privilege. The contents
are intended solely for the addressee and access thereto by anyone else is
unauthorised. Should you not be the intended recipient, kindly delete the
message and inform us. Any disclosure, copying or distribution is prohibited
and may be unlawful. Please also note that any action taken, or omitted to
be taken in reliance on the information contained herein is done at your own
risk.




-------------------------

[This E-mail scanned for viruses by Declude Virus]

To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive






-------------------------

[This E-mail scanned for viruses by Declude Virus]

To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive




-------------------------

[This E-mail scanned for viruses by Declude Virus]

To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive

Reply via email to