which mib2c template to use

2010-11-29 Thread Kobi Biton
Hi I used the mib2c int template to convert a mib with a single read-write object successfully , however now I face a new issue the value that I need to snmpset is `date +%s` (Linux APOC) which I assume will not fit into an integer field , I assume I will need to change the field type to

simple snmpset for a single SNMP Object

2010-11-28 Thread Kobi Biton
hi there I am trying to write a very simple code single mib , single field (see below) , the purpose is to perform an snmpset from bash to this single field via script and then a simple snmpget from manager station , I am using mib2c with this template mib2c.int_watch.conf , themn I am using gcc