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

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

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: *jxmlsaiTable

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.confwhich the shell just print hello world, it works properly. But after i add my extended agent to the snmpd.conf by adding:

Fwd: snmpd.conf

2006-08-11 Thread Elias Bou Rahal
: 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 private, unpaid, SNMP consultancy.Keep discussions to the list, where

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 5.x

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.sh in

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 you. Best

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_charvar_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, both the type,

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
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.net Subject: Re: FW: Re

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

2006-03-03 Thread elias bou rahal
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 +, elias bou rahal wrote: i need to know which function i have to call for getting

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 +, elias bou rahal wrote: i need to know which

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.