netSnmpHostsTable.so segmentation fault

2007-02-15 Thread Elias Bou Rahal
Hi All, i am trying to create the netSnmpHostsTable.so from the example in " net-snmp-5.2\agent\mibgroup\examples". It s created successfully but when i add it to dlmod, it appears like its added normally: UCD-DLMOD-MIB::dlmodName.1 = STRING: netSnmpHostsTable UCD-DLMOD-MIB::dlmodPat

extended the agent "dynamically loaded"

2007-02-13 Thread Elias Bou Rahal
Hi All, I have a problem in creation the extended agent using dynamic loaded. I used in the past the old api but will simple table . Now i am in need to make an extened agent dynamically loaded using complex table. so i am in need to use net-snmp. after my little knowledge i am in need to use m

index in netsnmp subagent

2007-02-05 Thread Elias Bou Rahal
Hi all, I extended the snmpd agent by using the Dynamic Module Creation for the net-snmp agent. and it s working very well, but now i want to add index to the mibs. which procedures can i use to register the index of my mibs in snmp agent. in example if this is the mib: *jxmlsaiTableOBJECT-

the ucdavis with the extend agent

2006-08-24 Thread Elias Bou Rahal
Hi Sir,        i have a problem in my snmpd. i use the version ucd-snmp 4.2.5 , when i try to execute a shell using ucdavis by typing:   "exec /bin/sh  /home/test.sh" in snmpd.conf which the shell just print "hello world", it works properly.   But after i add my extended agent to the snmpd.conf by

install net-snmp instead of ucd-snmp

2006-08-11 Thread Elias Bou Rahal
Hi sir,        I am using ucd-snmp version 4.2.5 with an extended agent ext_snmp.so by adding dlmod = path of the extended agent in snmpd.conf.   this extended agend ext_snmp.so registers more than 20 private mibs. these mibs contain many Table.   I want to ask if it s possible to use the Net-snmp

Fwd: snmpd.conf

2006-08-11 Thread Elias Bou Rahal
ubject: Re: snmpd.confTo: Elias Bou Rahal <[EMAIL PROTECTED]>Cc: net-snmp-users <net-snmp-users@lists.sourceforge.net >   [ First - *please* don't mail me privately, without copyingany responses to the mailing list.  I don't have the timeor inclination to offer priva

snmpd.conf

2006-08-07 Thread Elias Bou Rahal
Hi sir,       In he snmpd.confi wrote "proc NameOfPrcess"  and i get the value of snmpbulkwalk -v2c NameOfMachine public prTable, the enterprises.ucdavis.prTable.prEntry.prErrorFlag.1 is always 0 if the program is running or no, and the same for the   "exec shelltest /bin/sh /home/jinny/shelltest

the enterprises . ucdavis . systemStats . ssCpuIdle represent the percentage instantly??

2006-08-04 Thread Elias Bou Rahal
Hi sir,         the OID enterprises . ucdavis . systemStats . ssCpuIdle is returning the percentages of idle cpu time instantly or percentages in one hour ?      if it s the percentages of idle cpu time instantly , do we have anyway to collect the percentages of idle cpu time in hour ?   Thank yo

hi need help

2006-07-18 Thread Elias Bou Rahal
hi Dear,        in the UCD-snmp extending agent , i have the function write_Name(int action, u_char  *var_val, u_char  var_val_type,   size_t   var_val_len,  u_char   *statP,  oid  *name, size_t   name_len):    the second, third and fourth parameters provide information about the new desired value

FW: Re: how can i get the index of a mib by using any snmp api.c

2006-03-03 Thread elias bou rahal
elias bou rahal <[EMAIL PROTECTED]> CC: net-snmp-users@lists.sourceforge.net Subject: Re: how can i get the index of a mib by using any snmp api.c Date: Thu, 02 Mar 2006 14:40:08 + On Fri, 2006-02-03 at 13:30 +0000, elias bou rahal wrote: > i need to know which function i have to c

FW: Re: FW: Re: how can i get the index of a mib by using any snmpapi.c

2006-03-03 Thread elias bou rahal
ument sturct oid name to var_filename() i want to know if there a better solution than this solution above thank you very much for ur time Best Regards Elias From: Dave Shield <[EMAIL PROTECTED]> To: elias bou rahal <[EMAIL PROTECTED]> CC: net-snmp-users@lists.sourceforge.ne

FW: Re: how can i get the index of a mib by using any snmp api.c

2006-03-02 Thread elias bou rahal
Shield <[EMAIL PROTECTED]> To: elias bou rahal <[EMAIL PROTECTED]> CC: net-snmp-users@lists.sourceforge.net Subject: Re: how can i get the index of a mib by using any snmp api.c Date: Thu, 02 Mar 2006 14:40:08 + On Fri, 2006-02-03 at 13:30 +0000, elias bou rahal wrote: > i nee

how can i get the index of a mib by using any snmp api.c

2006-02-03 Thread elias bou rahal
Hi, i need to know which function i have to call for getting the indexes of a mib . I am using the init_mib() in my subagent so how can i get the indexes. thank you Best Regards Elias --- This SF.net email is sponsored by: Splunk Inc.