overflow with free disk space?

2005-03-21 Thread Bruno Mattarollo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, We've just received a new array and after installing Net-SNMP 5.2.1 on it (Fedora Core 2, custom kernel mods), the 3.7TB are now causing some problems. # snmpwalk -v2c -c MYHOSTNAME .1.3.6.1.4.1.2021.9.1.7 UCD-SNMP-MIB::dskAvail.1

Re: snmpget

2005-03-21 Thread Thomas Anders
TheBatchMan wrote: snmpget -v 1 -c xxx yyy.com -m edir-mib 1.3.6.1.4.1.23.2.98.1.2.3.1.1.5 Use snmpget -v 1 -c xxx -m +edir-mib yyy.com 1.3.6.1.4.1.23.2.98.1.2.3.1.1.5 instead. +Thomas --- SF email is sponsored by - The IT Product Guide Read hones

How to add a monitor dynamicly?

2005-03-21 Thread Sim Wind
I'm sorry for resending this mail, for that i shold have given the precondition about the problem when i configure the file snmpd.conf, add some  lines in it like the following. monitor -o prNames -o prErrMessage "process table" prErrorFlag != 0 . after restarting the snmpd, I call snmpwalk, an

snmpget

2005-03-21 Thread TheBatchMan
Hello, I am new to snmp and not sure whether this is the vehicle I am to use for question asking, but here goes? I have used a win32 GUI snmp program and am looking to find command-line snmp tools. I have downloaded the "net-snmp-5.2.1-1.win32.exe" set of tools and started playing with the sn

How to add a monitor dynamicly?

2005-03-21 Thread Sim Wind
Thanks for your help.  I call snmpwalk, and get the following message $ snmpwalk -v2c -c community agent dismanEventMIB DISMAN-EVENT-MIB::mteObjectsID."snmpd.conf"."snmpd.conf1".1 = OID: SNMPv2-SMI::enterprises.8193.1.1.1.5.1.3DISMAN-EVENT-MIB::mteObjectsID."snmpd.conf"."snmpd.conf1".2 = OID: SNMP

Re: OIDs and Instances returned by SNMPWALK

2005-03-21 Thread John Pomeroy
Have you tried variations on the command line snmpwalk using -On and -Of. (that's the letter O, not a zero). These can help you figure out exactly what object you're seeing responses to. You should also read the snmpcmd man page. I haven't seen a net-snmp FAQ yet, but someone has probably create

Re: Exec repeats system calls

2005-03-21 Thread frank
I came up against this one recently and eventually figured it out myself. You need to add a timeout to your snmpwalk/get. (-t seconds) Default is 1 second. -f On Mon, 21 Mar 2005, Clements, Brian wrote: Date: Mon, 21 Mar 2005 15:23:11 -0700 From: "Clements, Brian" <[EMAIL PROTECTED]> To: net-snmp

Exec repeats system calls

2005-03-21 Thread Clements, Brian
I've seen this topic posted once before "exec repeats system call, never returns value". I'm using exec in the snmpd.conf to execute a script. The script is getting called at least 3 times each time I do a snmp walk. Any ideas? I'm seeing this behavior with 5.1.2 and 5.2.1. -Brian --

exec script handling

2005-03-21 Thread Keith Ledford
Hello all, We are trying to extend net-snmp to return some values for our products. In our snmpd.conf file we have an entry for exec like: exec .1.3.6.1.4.1.11021.x.y.z TTVEntry /usr/local/n2bb/snmpcatcher/bin/TTVEntry_script.pl The TTVEntry_script.pl returns about 15 metrics. It appears th

OIDs and Instances returned by SNMPWALK

2005-03-21 Thread nelson . yik
Hi everyone,   When snmpwalk is returned, 2 such lines that is returned is the following:      SNMPv2-MIB::sysContact.0 = STRING: [EMAIL PROTECTED]    RFC1213-MIB::atPhysAddress.2.1.198.235.66.193 = Hex-STRING: (blahblahblah)   Now, I’ve been told that sysContact is a MIB var

Extention : Problem in net SNMP agent( complied with MY own MIB)..please help me

2005-03-21 Thread Kumara-Swamy.Dontamsetti
I have forgot to mention the earlier mail. When I try on other system MIBs It is working perfectly I have tried on SNMP MIB and system MIB. Thanks in advance. Regards Kumar > Hi, > > I am struggling from past three days on same problem> ...>

Problem in net SNMP agent( complied with MY own MIB)..please help me

2005-03-21 Thread Kumara-Swamy.Dontamsetti
Hi, I am struggling from past three days on same problem... 1. I have complied my MIB ( ADSL-LINE-MIB) with net-SNMP agent -- success. ( Note: code is generated with mib2c.iterate.conf ) 2. I have created snmpd.conf (with rocommunity is public and rwcommunity is private

mib2c problem

2005-03-21 Thread 최성록
  Hi. I installed net-snmp-5.1.2 and now implementing agent module. I got a problem concerned 'mib2c'. When I run mib2c in command line, I got messages as belos   "ERROR: You don't have the SNMP perl module installed.  Please obtainthis by getting the latest source release of th

example-demon problem

2005-03-21 Thread 최성록
Hi I compiled example-demon and run it. I arleady ran snmpd in the same system(Solaris 5.8). I think example-demon communicate with snmpd well. Now, I'd like to have example-demon communicate with the nms in another system. what Should I do to do this? (need a .conf file?) If so,

How to develop embeded snmp-agent in my program

2005-03-21 Thread 최성록
      HI,I'm Rok. I'm a beginner to snmp. I have some problems to develop snmp agent.   What I to do is to modify receive() function in snmpd.c for my own operation.I should get all the get/set messages from nms, and parse those, and response.I had read some mails referring to

Using SNMP for "Real-time" monitoring

2005-03-21 Thread Joe Clark
I have a fairly generic question but have never found a great answer for it: Is there a way to use SNMP such that it is a suitable tool for "realtime" monitoring of a system? By realtime, I mean that I'd like to be able to choose any normal MIB item (not just items defined as traps), and have

accessing other mib variables inside the handler of annother mib variable?????

2005-03-21 Thread chinmay bhat
I have a problem. I have 2 mib variables say A and B. If a set comes on A and the A's handler is called by snmpd...Can i set the value of B from that A's handler? Is there any API's present for that? Or do i have to call systam("snmpset on B") from the handler.(Its a very bad way). Thanx in adv

why header_generic declares request as invalid ?

2005-03-21 Thread Kelvin Moss
Hi group,   I register a MIB and my callback function looks like this --   u_char*snmp_callback_func(struct variable *vp,    oid *name,    size_t *length,    int exact,    size_t *var_len,    WriteMethod **write_method){    static long long_ret = 0;      /*