Re: How to use snmpwalk in php, my php doesn't work,help me

2004-10-14 Thread Dave Shield
> Fatal error: Call to undefined function: snmpwalk() in >C:\Program Files\Apache Group\Apache2\htdocs\phpinfo.php on line 2 Looks very much as if your PHP engine hasn't been configured to include SNMP support. Try looking at the output of 'phpinfo()' - that should include a configuration blo

Re: Help with snmptrapd not generating any output

2004-10-14 Thread Juan C. Méndez
Doing some more research, I see a "sess_process_packet: pre-parse fail" if I debug the package processing... this seems to be why it does not print the packages it receives. Any thoughts? BTW - I'm using NET-SNMP Version: 5.1.1 Thanks in advance for any help! Juan C. sess_process_packet: sess

Re: HELP: snmptrapd behavior - multi thread

2004-10-14 Thread Giovanni Tirino
Hi, thank You for your answer. Do You know some snmptrap daemon which support multi-threading process ? I don't think I am able to path snmptrapd. Thank You very much for your support. Bye - Original Message - From: "Robert Story (Users)" <[EMAIL PROTECTED]> To: "Giovanni Tirino" <[EMAI

Fwd: Help with snmptrapd not generating any output

2004-10-14 Thread Juan C. Méndez
Hi. I'm trying to use snmptrapd in Gentoo Linux to log the activity on a Linksys router. The package is instaled and it seems to me the configuration files are OK. If I turn the dump packet option -d, I see packets coming from the router (see below). But when I try to get formatted output, noth

Re: snmpset returns errr notWritable

2004-10-14 Thread Dave Shield
> to initiate a write on some oid I used the following command: > >snmpset . HOST-RESOURCES-MIB::hrFSLastFullBackupDate.1 OK. SET suppport to that particular object is not implemented by the Net-SNMP agent (and in fact that whole table is read-only). > The object hrFSLastFullBacku

Re: snmpset returns errr notWritable

2004-10-14 Thread Jan Schierig
Hi Dave, to initiate a write on some oid I used the following command: snmpset -v3 -u user -l authPriv -a MD5 -A x -x DES -X x \ localhost HOST-RESOURCES-MIB::hrFSLastFullBackupDate.1 \ s 2004-10-0,8:0:0.0 The object hrFSLastFullBackupDate should be accessible for writing,

Re: snmpset returns errr notWritable

2004-10-14 Thread Dave Shield
> I have tried to set some object values with snmpset -v3 ... ... But every > time I try to set new values the request reported an error notWritable. Which objects are you trying to set? What are the exact commands you are using? > The snmp user I used for snmpset has write acces granted by VAC

Re: some doubts

2004-10-14 Thread Dave Shield
> 1. How does a network management station discovers private mib's form a > device, for example, a UPS. I mean, how does it know what things to monitor > and what to query the agent for, how does he knows the variables, etc. The (human) network manager tells it what to look for. > 2. How is s

Re: some quesitons about MIB file and related .c file --from a green hand

2004-10-14 Thread Dave Shield
> Question 1 about net-snmp-5.1.2/agent/mibgroup/examples/scalar_int.ch > As described by > http://net-snmp.sourceforge.net/tutorial/agent/04-basic-code.html Nope. That tutorial is describing the older v4 (or UCD) MIB module API. Most of the examples under 'mibgroup/examples' use the newer v

Re: snmpd logging

2004-10-14 Thread Dave Shield
> is it possible to switch off the logging part? It's not documented (I need to fix that), but you can turn off logging completely using -Ln or in part using -LN pri1-pri2 See 'snmpcmd' for a description of the priority-form. (It works in the same way as -LE etc) Dave