Integer Decimal Point Notation Question

John Kokidko <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
All

I have a question about output form a RFC 1628  UPS MIB.
The integer output is displayed without any decimals points (See Below)

Is there a method that does not involve scripting that would provide 
Decimal point notations.

That is the output of Htz would read 60.0 instead of 600.

Thanks John




Name:           input.upsInputTable.upsInputEntry.upsInputFrequency
Object ID:     .1.3.6.1.2.1.33.1.3.3.1.2
Type:        NonNegativeInteger  (Integer) (0..2147483647)
Units:        0.1 Hertz:
Access:    Read-Only


upsMIB.upsObjects.upsInput.upsInputTable.upsInputEntry.upsInputFrequency.1 
: INTEGER: 600


./snmpwalk 10.3.xxx.xxx .1.3.6.1.2.1.33.1.3.3.1.2
upsMIB.upsObjects.upsInput.upsInputTable.upsInputEntry.upsInputFrequency.1 
: INTEGER: 600
upsMIB.upsObjects.upsInput.upsInputTable.upsInputEntry.upsInputFrequency.2 
: INTEGER: 600
upsMIB.upsObjects.upsInput.upsInputTable.upsInputEntry.upsInputFrequency.3 
: INTEGER: 600


Name:           input.upsInputTable.upsInputEntry.upsInputFrequency
Object ID:     .1.3.6.1.2.1.33.1.3.3.1.2
Type:        NonNegativeInteger  (Integer) (0..2147483647)
Units:        0.1 Hertz:
Access:    Read-Only


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.