can i generate a table from an exec in snmpd.conf?

2007-10-11 Thread repudi8or repudi8or
Hi Folks, I would like to extend net-snmp to use some perl scripts producing output in a tabular format like so :- [EMAIL PROTECTED] $ /usr/local/bin/prstatByZone zone1 487 230 2.8 0.3 global 596 155 1.8 0.3 zone2 9395 7583 95 0.2 zone3 87 15 0.2 0.0 column headers are Z

Re :Re: Re :Re: sysUpTime jumps from 24 to 472 on Linux

2007-10-11 Thread arul vadivel
Hi Dave,Sorry for the Reply to Sender only email.I have been planning to migrate my SNMP package to latest one available in net-snmp siteto solve this issue.Thanks for all your suggestions!Regards,ArulOn Wed, 10 Oct 2007 16:17:50 +0100 \"Dave Shield\" wrote [ First - *please* don\'t mail m

Re :Re: Getting the following error while starting snmpd

2007-10-11 Thread arul vadivel
Hi Dave,Thanks for you suggestion!Will check and update the same in email.Regards,ArulOn Wed, 10 Oct 2007 16:15:03 +0100 \"Dave Shield\" wrote On 10 Oct 2007 14:12:54 -, arul vadivel wrote: > I am getting the following error message when I start the snmpd deamon:> Warning: no acce

Re: snmp_alarm_register, problem: initializer element is not constant

2007-10-11 Thread puccc
Ok, I will reply to my own question. The problem is solved,it was a very stupid mistake.The function call was outside of any other function. This is the result of overtired coding. Stefan Stefan Wolf wrote: > Hello, > > I try to use the function snmp_alarm_register as follows: > > > #define

Re: snmp_alarm_register, problem: initializer element is not constant

2007-10-11 Thread Dave Shield
On 10/10/2007, Stefan Wolf <[EMAIL PROTECTED]> wrote: > I try to use the function snmp_alarm_register as follows: [snip] Yup - that looks reasonable. > When I try to compile it, I get the follwing message: > management_conn.c:40: error: initializer element is not constant > > Where line 40 i

Re: The elements of one table, their OID is discontinous.

2007-10-11 Thread Dave Shield
On 11/10/2007, Jack Chen <[EMAIL PROTECTED]> wrote: > The xxxTable_columns.h is generated by mib2c, it looks like below: >#define COLUMN_EEE 5 >#define COLUMN_FFF 7 : >#define COLUMN_JJJ 11 >#define COLUMN_KKK 13 > When I execute "walk