Re: Why my agent will be shut down?

2005-04-15 Thread Robert Story
On Thu, 14 Apr 2005 15:36:32 +0800 Hongjunli wrote: H> snmp_set_var_value(idx, (u_char *)entry->AdminPwd, H> strlen(entry->AdminPwd)); //when execution arrives at this line ,the H> agent will be shut down H> H> the agent will be shut down .Error message is "segment default" That's lik

Re: When I use snmptable to visite myself table,I get "USER-MIB::AdminUsrTable: No entries"

2005-04-15 Thread Robert Story
On Wed, 13 Apr 2005 15:43:13 +0800 Hongjunli wrote: H> When I use snmptable to visite myself table,I get "USER-MIB::AdminUsrTable: H> No entries". Could you tell me the cause? 1) Your table isn't setting up the indexes properly or 2) the handler isn't settind the data correctly -- NOTE: messag

Why will my function xxxTable_load(...) be called twice after only one snmpwalk/snmptable used ?

2005-04-15 Thread Hongjunli
Why will my function xxxTable_load(...) be called twice after only one snmpwalk/snmptable used ?I have traced tcpTable_load(...),but it is called just once. Could you expain the cause? thanks a lot.

Why my agent will be shut down?

2005-04-15 Thread Hongjunli
hi I used "mib2c -c mib2c.iterate.conf AdminUsrTable" to generate the following c code ,but when execution arrives at this line: /

When I use snmptable to visite myself table,I get "USER-MIB::AdminUsrTable: No entries"

2005-04-15 Thread Hongjunli
When I use snmptable to visite myself table,I get "USER-MIB::AdminUsrTable: No entries".Could you tell me the cause?

Re: net-snmp can't query CPU, RAM information.

2005-04-15 Thread Nguyen Quang Vu
Dear All,   Firstly, many thanks for your reply. I would like to show you my problem.   I need to get Disk, CPU, and Memory information from my HP-UX Machine for Monitoring purpose, this information will be showed with chart.   To do this. I installed net-snmp in my HP-UX machine, after that. I us

Re: Net-snmp-coders digest, Vol 1 #2502 - 3 msgs

2005-04-15 Thread Shivali Gupta
Hello, I hav written a code to read the value of tcpMaxConn from TCPMIB as shown below. fn() { struct snmp_session session; struct snmp_session *sess_handle; struct snmp_pdu *pdu; struct snmp_pdu *response; struct variable_list *vars; oid id_oid[MAX

Re: net-snmp can't query CPU, RAM information.

2005-04-15 Thread Nguyen Quang Vu
Dear Wes Hardaker,   I need to get Disk, CPU, and Memory information from my HP-UX Machine for Monitoring purpose, this information will be showed with chart.   To do this. I installed net-snmp in my HP-UX machine, after that. I used SolarWinds software (version for windows 2000 machine) to query t

Re: Problem with mib2C

2005-04-15 Thread Alex Burger
Robert Story wrote: On Fri, 15 Apr 2005 09:21:58 -0400 Alex wrote: AB> Move the source code to a folder that does not contain a space in the AB> name. You are compiling from "C:\Documents and Settings" which will not AB> work. Is there a standard windows equivalents to grep that we could use to

RE: Problem with mib2C

2005-04-15 Thread akshatha . b
Title: RE: Problem with mib2C Thanks Alex. After moving it to different folder that doesn't contain a space in the name, it just compiled fine without any errors!! - Akshatha -Original Message- From: Alex Burger [mailto:[EMAIL PROTECTED]] Sent: Friday, April 15, 2005 6:52 PM To: [E

Re: Problem with mib2C

2005-04-15 Thread Robert Story
On Fri, 15 Apr 2005 09:21:58 -0400 Alex wrote: AB> Move the source code to a folder that does not contain a space in the AB> name. You are compiling from "C:\Documents and Settings" which will not AB> work. Is there a standard windows equivalents to grep that we could use to test for this, and

Re: Problem with mib2C

2005-04-15 Thread Alex Burger
Move the source code to a folder that does not contain a space in the name. You are compiling from "C:\Documents and Settings" which will not work. Yes, this should be documented, but I don't think it is. Alex [EMAIL PROTECTED] wrote: No luck. It gave me the same problem again when I did the c

RE: Problem with mib2C

2005-04-15 Thread akshatha . b
Title: RE: Problem with mib2C No luck. It gave me the same problem again when I did the changes as you mentioned. I also tried setting the INSTALL_BASE variable to the Source Directory but got the same error. I am attaching the compilation log with the mail for your reference. Thanks - Aksh

Re: Problem with mib2C

2005-04-15 Thread Alex Burger
Hi Akshatha. Trying modifying the nmakeperl.bat file by commenting out the existing 'perl Makefile.PL CAPI=TRUE -NET-SNMP-PATH=%INSTALL_BASE%' and uncommenting the 'perl Makefile.PL CAPI=TRUE -NET-SNMP-IN-SOURCE=TRUE line. Alex [EMAIL PROTECTED] wrote: Hi Alex, Thanks for your reply. I did use t