This brings up a subject that I'd LOVE to see. Would the following process be possible:

Perform the SNMP check
Run a process (external? ) to convert the returned value from the check into something 
else
Return 2 values: UP, DOWN or ERROR,  and a converted value
Output the converted value as an additional column (or the additional_info column 
instead of the time?) so it's available for output to the interchange DB as well as 
the HTML output.

This would be especially useful when doing SNMP checks because the returned 
information is usually a status code or datum that is unique to that device. Not only 
is it a pain to try and remember what a status of 6 means for a HP printer as opposed 
to a Security System, but it would be useful place to convert to English for output. 
Environmental monitors often output a value here in Celsius, but it is easier to have 
it in Fahrenheit for output. NOTE: I've seen some devices with as many as 25 status 
codes

Another gotcha with SNMP is that multiple status codes can equal a DOWN (a status code 
of 2, 5, 8, 12 = DOWN). This process might enable one check to perform boundary 
conditions as well (too Hot OR too Cold) .

For me those two conversions would be sufficient:
1)  (taken from the "standard" hrPrinterStatus MIB)
For a returned value of 1, output "Other", status is DOWN
For a returned value of 2, output "Unknown", status is DOWN
For a returned value of 3, output "Idle", status is UP
For a returned value of 4, output "Printing", status is UP
For a returned value of 5, output "Warmup", status is UP
...

2)
For a returned value of X, output (1.8 * X) +32 as Y, if 32 >= Y  or  Y >= 110 then 
DOWN

Just my $00.035 worth.


Michael Shook
Business Continuity Analyst
Saddle Creek Corporation
723 Joe Tamplin Industrial Blvd
Macon GA  31217
478 742 8740 ext. 105 (work)
478 256 9318 (mobile)
478 742 7917 (fax)
[EMAIL PROTECTED] 
http://www.saddlecrk.com

>>> [EMAIL PROTECTED] 10/21/03 04:02AM >>>
and how should SA know what to convert and what not to convert?
 
 


dirk.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Chris Robinson
Sent: Tue Oct 21 8:07 AM
To: >
Subject: [SA-list] SNMP output in MB rather than Kb


Hi Dirk,
 
Is it possible for servers alive to output / convert SNMP disk space
usage statistics in   MB rather than Kb for the mathematically
challenged amongst us?
----------------------------------------------------------------
This email message is intended only for the addressee(s)
and contains information which may be confidential.
If you are not the intended recipient please do not
read, save, forward, disclose, or copy the contents of
this email. If this email has been sent to you in error,
please delete this email and any copies or links to this
email completely and immediately from your system.

IF THIS EMAIL CONTAINS AN IMAGE PLEASE READ THIS IMPORTANT MESSAGE

This image is sent to you for approval purposes only - the image
is owned by another party and is protected by copyright. To avoid
infringing copyright, please open the image to view online only and
do not print or copy the image. If you wish to use the image, please
reply "yes" to this email and specify the scope of the proposed use
so that we can negotiate an appropriate licence with the copyright
owner. We will notify you once the licence has been obtained.

In the event that you use, print or copy the image before a licence
has been obtained or use the image for a purpose not made known to
us, you could be infringing copyright and you will be held legally
responsible for any consequences of unauthorised use.

By opening the image, you acknowledge that you have read this
message and agree to these terms.



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