Re: How to send float values from agent

2007-06-06 Thread Dave Shield
On 30/05/07, Vishal N <[EMAIL PROTECTED]> wrote: > I have generated code by mib2c using mib2c.scalar.conf and used the float > variable to pass the object value. > > I have read in net-snmp guids that Opaque is not used now days. Will it be > any problem if I used OCTET STRING for float values. No

Re: How to send float values from agent

2007-05-30 Thread Vishal N
On 30/05/07, Vishal N wrote: > How to send float values from agent? See 'agent/mibgroup/ucd-snmp/loadave.c' for an example (Search for LOADAVEFLOAT) > I have tried but > it is giving error message > "SMPS-MIB::loadFRFC9.0 = Wrong Type (should be > Opaque): INTEGER: 1

Re: How to send float values from agent

2007-05-30 Thread Vishal N
/05/07, Vishal N wrote: > How to send float values from agent? See 'agent/mibgroup/ucd-snmp/loadave.c' for an example (Search for LOADAVEFLOAT) > I have tried but > it is giving error message > "SMPS-MIB::loadFRFC9.0 = Wrong Type (should be > Opaque): INTEGER: 111058

Re: How to send float values from agent

2007-05-30 Thread Dave Shield
On 30/05/07, Vishal N <[EMAIL PROTECTED]> wrote: > How to send float values from agent? See 'agent/mibgroup/ucd-snmp/loadave.c' for an example (Search for LOADAVEFLOAT) > I have tried but > it is giving error message > "SMPS-MIB::loadFRFC9.0 = Wrong Type (should

How to send float values from agent

2007-05-29 Thread Vishal N
Hi, How to send float values from agent? I have tried but it is giving error message "SMPS-MIB::loadFRFC9.0 = Wrong Type (should be Opaque): INTEGER: 1110585115 " What is Opaque? How to handle float values in agent. Vishal N Looking for people who are YOUR TYPE? Fi