exe question

2006-09-18 Thread danny zhong
hi Dave, currently i am developing a simple remote control application with the net snmp. my question is how can i execute a remote program which is run in backround. for example, i have a .c file in the remote computer which is: int main(void){ while(1){ } } and i put the execution command of

Re: Problems with monitoring processes on Solaris 9

2006-09-18 Thread Thomas Anders
James Mckenzie wrote: > Per instructions received on the list and the readme.solaris file, I built > NetSNMP 5.3.1 for Solaris. However, I have problems when I attempt to > monitor processes using the instructions and have added the snmp.conf and > snmp.log files here. [...] > monitor -r 30 -i

Problems with monitoring processes on Solaris 9

2006-09-18 Thread James Mckenzie
Per instructions received on the list and the readme.solaris file, I built NetSNMP 5.3.1 for Solaris. However, I have problems when I attempt to monitor processes using the instructions and have added the snmp.conf and snmp.log files here. James McKenzie ###

Re: Values for 1Gb interfaces...

2006-09-18 Thread Thomas Anders
Jean-Sebastien Morisset wrote: > Thanks, although Net-SNMP does not seem to return this OID: > > # snmpwalk -v 2c localhost .1.3.6.1.2.1.31.1.1.1.6 > IF-MIB::ifHCInOctets = No Such Object available on this agent at this OID On Solaris, you'll need net-snmp 5.4 for the IfHC* counters to work. Try

Re: Authentication Failure Trap

2006-09-18 Thread James Mckenzie
Jonathan: That should have triggered the trap. I'm wondering if this actually works or not. I do have a way of testing it though. James McKenzie -Original Message- >From: Jonathan Shan <[EMAIL PROTECTED]> >Sent: Sep 18, 2006 11:14 AM >To: James McKenzie <[EMAIL PROTECTED]> >Cc: net-s

Re: Authentication Failure Trap

2006-09-18 Thread Jonathan Shan
On Sun, 17 Sep 2006, James McKenzie wrote: > Simple, attempt to access your system with snmptrap with an incorrect > community string (v1 or v2c) or user/password combination that is not > valid for v3. This should send out a trap to your receiver. Sorry, I should have mentioned that I used snmp

Re: Values for 1Gb interfaces...

2006-09-18 Thread Jean-Sebastien Morisset
Dominique, Thanks, although Net-SNMP does not seem to return this OID: # snmpwalk -v 2c localhost .1.3.6.1.2.1.31.1.1.1.6 IF-MIB::ifHCInOctets = No Such Object available on this agent at this OID Any ideas? My compilation options are: ./configure --enable-internal-md5 --with-perl-modules --ena

Re: Values for 1Gb interfaces...

2006-09-18 Thread Dominique bastien
Use the ifXtable information. 1.3.6.1.2.1.31.1.1.1.6 p.s. Don't forget to be in v2c because the 64bits counter are not in v1. Dominique --- Jean-Sebastien Morisset <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I'm using Net-SNMP 5.3.0.1 on Solaris servers. I may > have a little > problem ge

Values for 1Gb interfaces...

2006-09-18 Thread Jean-Sebastien Morisset
Hi everyone, I'm using Net-SNMP 5.3.0.1 on Solaris servers. I may have a little problem getting stats on 1Gb interfaces -- the 32 bit counter appears to roll too frequently. I'm polling the values every 30 secs, but this may not be enough. Is there a 64 bit counter available for interface bytes? I

Prebuilt Solaris Binaries for 5.2 or 5.3 series

2006-09-18 Thread James Mckenzie
Due to an issue with monitoring I would like to update the version of NetSNMP that we are using. I would like to move to either the 5.2 or 5.3 tree using pre-built binaries, if they are available for Solaris 9. I have searched the 'net and could not find them, but I'm hopeful that they are ava

MAX-ACCESS values

2006-09-18 Thread Alon Marx
hi, Sort of a MIB definition question, but still relevant to net-snmp :) In a table definition, what should the MAX-ACCESS values be for regular columns (not indexes and not rowstatus)? Should it be read-write or read-create? And does it make any difference when using mib2c? Thanks, Alon -