winservice.c file's question

2005-11-28 Thread 麻 雪蛟
hi I am using net-snmp5.1.3 snmptrapd program, I don't want to use snmptrad as a windows service, so I delete "#define WIN32SERVICE" line in snmptrapd.c, and I delete win32service.c file, compile and link ok! But When I use snmptrapd, it doesn't work...I If I don't delete win32service

snmp trap handler issue (net-snmp-5.3.pre4)

2005-11-28 Thread Holger Jahn
Hi there, I stumbled across an issue today, which might be of interest to you as well... ;-) What I am using on our box here is basically a SNMP trap handler chain to inject traps into Nagios, i.e. snmptrapd => snmptt => sec => nagios. With Net_SNMP version 5.1.2 everything is working nicely, ex

Unknown Object Identifier - HOST MIBS

2005-11-28 Thread Tam Vo
Everytime I tried accessing information in the HOST-RESOURCES-MIB, both locally and remote, I got a Unknown Object Identifier error.  For example, when I try to perform         snmpget -v 1 -c public localhost hrSystemDate  I would get an error                 Unknown Object Identifier (sub-id n

Re: snmptrapd WIN32SERVICE question

2005-11-28 Thread Alex Burger
麻 雪蛟 wrote: > Hi > >When I undef macro WIN32SERVICE in snmptrapd, it would emit following > errors, I don't know why, what does WIN32SERVICE mean??? : > > netsnmptrapd.lib(snmptrapd.obj) : error LNK2005: _app_name already > defined in snmptrapd.obj It's to allow snmptrapd to run as a servi

Re: MIB 1.3.6.1.4.1.8072

2005-11-28 Thread Thomas Anders
[EMAIL PROTECTED] wrote: where is it possible to get the NET-SNMP MIB 1.3.6.1.4.1.8072 ? There are several. See mibs/NET-SNMP-*.txt in the source distribution. +Thomas --- This SF.net email is sponsored by: Splunk Inc. Do you grep through

truncating unsigned value to 32 bits

2005-11-28 Thread Stuart Kendrick
hi, "truncating unsigned value to 32 bits" when i grab this one particular variable, i see the above warning. what does it mean? guru> snmpget -c public nasbox volumeCapacity.1024.0 truncating unsigned value to 32 bits (6) BLUEARC-SERVER-MIB::volumeCapacity.1024.0 = Counter64: 1970937004032 g

MIB 1.3.6.1.4.1.8072

2005-11-28 Thread bertsch
Hello all, where is it possible to get the NET-SNMP MIB 1.3.6.1.4.1.8072 ? thanks in advance /yb --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that m

No traps in v5.2.2.rc6?

2005-11-28 Thread cnelson
This is a preliminary report -- I'm still trying to prove I'm not doing something wrong -- but I can't get any traps out of v5.2.2 rc6. I've rebuilt my whole system against v5.5.2 headers and libraries and my configuration definitely calls for authorization traps and my subagent sends link up/down

Re: 'Inter-Tables indexing' and perl

2005-11-28 Thread Dave Shield
On Sat, 2005-11-26 at 13:21 +0100, Turbo Fredriksson wrote: > > Do you think you could hack together a dummy "standalone" version > > of this extension script? One that doesn't rely on the underlying > > software that it's intended to monitor. > >The values that it reports don't matter - just

table.c helper return code

2005-11-28 Thread Kurapati M-G19456
Title: Message Hi all,   we are using NET-SNMP-5.2.1.2 in Agentx mode.    What error should the subagent return in a GETNEXT response on a table with no rows in it? Should it be GENERR, or NO_OBJECT, or NO_SUCHINSTANE?  We are using table.c helper functions in the SubAgent.   Your clari

How to configure agent to listen on a new IPAddress without restarting it.?

2005-11-28 Thread Pamidipati Suresh-G20238
Title: Message Hi,   We are using Net-snmp-5.1.1. We have configured the agent to listen on an IP address (10.232.92.171) and port 161 by specifying the following line in snmpd.conf   agentaddress  udp:10.232.92.171:161   We want to re-configure the agent to listen on localhost instead of

Re: compiling net-snmp for HP-UX 64Bit / badValue reported by snmpset

2005-11-28 Thread Thomas Anders
[EMAIL PROTECTED] wrote: I need some advice for compiling and using net-snmp 5.2.1.2 on HP-UX 11.0/11i in 64 Bit mode. (I need to link libnetsnmp with my 64 Bit applications. We currently have development environments for HP-UX 11.0 and 11i) [...] Judging from the ethereal output I think that th

Heartbeating from Manager to sub-agent

2005-11-28 Thread Patil, Suresh (Suresh)
Hi, I have a SNMP Manager and a SNMP agent. The SNMP Manager is under my control and the SNMP Agent are being provided by some third party without the source code. I want to establish a heart beat session between these two entities. I went through the example listed in /agent/mibgroup/examples

snmptrapd WIN32SERVICE question

2005-11-28 Thread 麻 雪蛟
Hi When I undef macro WIN32SERVICE in snmptrapd, it would emit following errors, I don't know why, what does WIN32SERVICE mean??? : netsnmptrapd.lib(snmptrapd.obj) : error LNK2005: _app_name already defined in snmptrapd.obj netsnmptrapd.lib(snmptrapd.obj) : error LNK2005: _Facility already

Re: override value with type IpAddress in snmpd.conf

2005-11-28 Thread Dave Shield
On Sun, 2005-11-27 at 20:24 +0200, Zeev Halevi wrote: > I can't fine what TYPE to use with what value format. If you've got the source, try $ cd net-snmp/snmplib $ grep asntypes snmp_api.c The output will include: se_add_pair_to_slist("asntypes", strdup("ipaddress"), ASN_IP