Re: No Subject

2007-03-12 Thread Joao Miguel Ferreira
I think that is possible. You just need to include the necessary '.h'
files and compile your program. It should work.

jmf


On Mon, 2007-03-12 at 00:21 -0700, Hamid Taromian wrote:
> can we send trap out side the main agent.
>  
> i mean can we use send_v2trap funcion in our code wich is not compiled
> in master agent to send traps?
>  
> 
> __
> Now that's room service! Choose from over 150,000 hotels 
> in 45,000 destinations on Yahoo! Travel to find your fit.
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___ Net-snmp-users mailing list 
> Net-snmp-users@lists.sourceforge.net Please see the following page to 
> unsubscribe or change other options: 
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: (no subject)

2006-03-17 Thread Thomas Anders

Palmentieri Nunzio wrote:
But, after I changed some paths in building it, when I started I receive 
the following message:
 
___

NET-SNMP version 5.2.2 AgentX subagent connected
Cannot find module (DLGC-GLOBAL-REG): At line 0 in (none)
Cannot find module (DLGHWINF-MIB): At line 0 in (none)
Cannot find module (DLGDS1-MIB): At line 0 in (none)
Cannot find module (DLGISDN-MIB): At line 0 in (none)

[...]

Anyway, the agent works, but does anybody know which is the reason of this 
message?



You're somewhere referencing the MIBs DLGC-GLOBAL-REG, DLGHWINF-MIB, 
DLGDS1-MIB and DLGISDN-MIB, but the agent cannot find them. Check the 
FAQ on how to add these MIB files.



+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: 答复: Re: (no subject)

2006-02-06 Thread Dave Shield
[ First - *please* don't mail me privately, without copying
 any responses to the mailing list.  I don't have the time
 or inclination to offer private, unpaid, SNMP consultancy.
 Keep discussions to the list, where others can both learn
 and offer advice.  Thanks.   ]


On Mon, 2006-02-06 at 08:29 +0800, [EMAIL PROTECTED] wrote:

> if i define DISABLE_MIB_LOADING, can do the agent... work normal? 

> if i don't parsing MIB files at net-snmp agent, can do the agent
> work normal? 

Yes.
Well, mostly yes.

Anything that explicitly uses MIB object names won't work.
E.g. snmpd.conf lines such as:

view  sysView  included   system

But a fully numeric version such as:

view  sysView  included   .1.3.6.1.2.1.1

should be OK, and the agent should still be able to
return all the usual information.

Dave


---
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 makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: (no subject)

2006-01-23 Thread Dave Shield
On Mon, 2006-01-23 at 09:06 +0800, [EMAIL PROTECTED] wrote:
> what's the use of DISABLE_MIB_LOADING? 

It omits all the code relating to parsing MIB files.
This is intended for embedded systems, where storage
space is at a premium.


> if i have a snmp agent by net-snmp, can i define DISABLE_MIB_LOADING? 

I wouldn't do this directly.
Run "./configure --disable-mib-loading" and recompile.


> if i define DISABLE_MIB_LOADING, what's the result of this attemp? 

The agent (and library, and any other Net-SNMP tools linked with that
library), won't recognise MIB object names, or syntax information, or
similar.  They'll work with numeric OIDs, and raw values.

Unless you're *very* strapped for space, then it's probably not worth
stripping this code out.

Dave


---
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 makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: (no subject)

2005-06-20 Thread Dave Shield
On Fri, 2005-06-17 at 22:20, Wang Yinyan-AYW003 wrote:
> I downloaded source code of  net-snmp-5.2.1 and extracted and try to
> install the perl module.  Following the instruction of INSTALL, I need
> to run "./configure".

Not correct.
Have another look at the INSTALL file.

Under "Installing the Perl/SNMP Module" it says:

 If you wish to build the perl modules by hand, *install Net-SNMP
 first* and then change directories to the perl subdirectory and:

   Run:
cd perl
perl Makefile.PL
make
make test
make install (as root)


You do *not* need to run configure in order to install the
perl module.

Dave



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: (no subject)

2005-05-09 Thread Bert Driehuis
Dear aparna,
please provide a Subject line with your postings. Thanks.
i have a question.Traditionally SNMP get requests are unicast 
..But is it possible to get send multicast SNMP get requests to 
all the devices in the network. and how can we do that thanks apps
No, multicast SNMP is not supported. Remote SNMP daemons may respond to 
broadcast requests but to the best of my knowledge no tools exist to 
deal with such responses (well, you may get lucky parsing output from 
tcpdump -s1516 but you'd really be one you own).

Cheers,
-- Bert
--
Bert Driehuis -- [EMAIL PROTECTED] -- +31-20-3116119
If the only tool you've got is an axe, every problem looks like fun!
---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: (no subject)

2005-02-23 Thread Robert Story
On Wed, 23 Feb 2005 11:01:15 +0800 Paul wrote:
PC> And I have read the man page of snmptrapd.conf, there is no discription
PC> about the forward token. The version of the package I used is 5.2.1, does
PC> this version package support this token?

Yes, forward is supported in 5.2.1. Either you don't really have 5.2.1, or you
have two versions installed and the tools are picking up the older version. Try
running

ls /usr/lib/*snmp* /usr/local/lib/*snmp*

If you have libraries in both directories, then you need to remove one of the
duplicate installations.

-- 
Robert Story; NET-SNMP Junkie
Support:    
Archive: 

You are lost in a twisty maze of little standards, all different. 


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: (no subject)

2005-02-22 Thread Paul Chen (QD/LJC)
Hi, Robert

This is my snmptrapd.conf :
forward SNMPv2-MIB::coldStart 150.236.78.18
forward SNMPv2-MIB::warmStart 150.236.78.18

When I using this config file to run the snmptrapd, there will be the following 
errors:
/usr/share/snmp/snmptrapd.conf: line 26: Warning: Unknown token: forward.
/usr/share/snmp/snmptrapd.conf: line 27: Warning: Unknown token: forward.

Somting Wrong?

And I have read the man page of snmptrapd.conf, there is no discription about 
the forward token.
The version of the package I used is 5.2.1, does this version package support 
this token?

Thanks.

BR//Paul

-Original Message-
From: Robert Story [mailto:[EMAIL PROTECTED]
Sent: 2005å2æ22æ 22:08
To: Paul Chen (QD/LJC)
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: (no subject)


On Tue, 22 Feb 2005 11:18:12 +0800 Paul wrote:
PC> I want to forward the traps to different destination based on  
PC> their oid.  I know that in the snmptrap.conf  there is a forward directives
PC> which an do this job. But how to configure the snmptrapd.conf?

See the snmptrapd.conf man page.

-- 
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/>   
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: (no subject)

2005-02-22 Thread Robert Story
On Tue, 22 Feb 2005 11:18:12 +0800 Paul wrote:
PC> I want to forward the traps to different destination based on  
PC> their oid.  I know that in the snmptrap.conf  there is a forward directives
PC> which an do this job. But how to configure the snmptrapd.conf?

See the snmptrapd.conf man page.

-- 
Robert Story; NET-SNMP Junkie
Support:    
Archive: 

You are lost in a twisty maze of little standards, all different. 


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: (no subject)

2004-12-11 Thread Wes Hardaker
> On Tue, 7 Dec 2004 00:59:55 -0800 (PST), Hazaruddin Abdullah <[EMAIL 
> PROTECTED]> said:

Hazaruddin> I'm Mr Hazaruddin Abdullah from Kuala Lumpur. I would like
Hazaruddin> to gain an y information about SNMP protocol. Actly I'm
Hazaruddin> the new users n just beginning to understand the basic
Hazaruddin> function of SNMP.I'm willing to get a knowledge from u
Hazaruddin> guys..ok...

You might start by reading our tutorial:
  http://www.net-snmp.org/tutorial-5/

-- 
Wes Hardaker
Sparta


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: (no subject)

2004-12-11 Thread Wes Hardaker
> On Thu, 9 Dec 2004 19:17:58 +0200, "Moses Reuben" <[EMAIL PROTECTED]> 
> said:

Moses> I'm using the snmpbulkwalk.c to get the route table from my
Moses> router, but my sniffer (Ethereal) recognize the packet as
Moses> GETNEXT packets with one oid on each response it this o.k. or
Moses> my code is using getnext and not getbulk.

ethereal properly handles bulk and the responses (I just verified this
by running snmpbulkwalk).  Thus...  are you writing your own
application? If so, I think ya did somethin' wrong ;-)

-- 
Wes Hardaker
Sparta


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: (no subject)

2004-11-16 Thread Sridhar S
Thanks for the reply. I fixed the problem. I required to remove the last
OID from the ifXTable_variables_oid in the UCD style generated code.

Sridhar



On Mon, 15 Nov 2004 22:44:27 -0500, "Robert Story" <[EMAIL PROTECTED]>
said:
> On Wed, 10 Nov 2004 14:48:59 +0530 Sridhar wrote:
> SS> I am using net-snmp 5.1. I have implemented ifXTable. Whenever I make
> a
> SS> snmpwalk on the ifXTable, values are correctly returned for all the
> SS> Counter32, Counter64 Gauge32, Timeticks and INTEGER variables are
> SS> returned with the following error.
> SS> 
> SS> Wrong Type (should be OCTET STRING)
> SS> 
> SS> Why this error is being prited on the console ? 
> 
> This happens when the tools read a MIB which defines a variable to be of
> one
> type, but an agent returns a variable of another type. It looks like your
> IF-MIB and agent are out of sync.
> 
> -- 
> Robert Story; NET-SNMP Junkie 
>   
> Archive:
> 
> 
> You are lost in a twisty maze of little standards, all different. 


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: (no subject)

2004-11-15 Thread Users
On Wed, 10 Nov 2004 14:48:59 +0530 Sridhar wrote:
SS> I am using net-snmp 5.1. I have implemented ifXTable. Whenever I make a
SS> snmpwalk on the ifXTable, values are correctly returned for all the
SS> Counter32, Counter64 Gauge32, Timeticks and INTEGER variables are
SS> returned with the following error.
SS> 
SS> Wrong Type (should be OCTET STRING)
SS> 
SS> Why this error is being prited on the console ? 

This happens when the tools read a MIB which defines a variable to be of one
type, but an agent returns a variable of another type. It looks like your
IF-MIB and agent are out of sync.

-- 
Robert Story; NET-SNMP Junkie 
  
Archive: 

You are lost in a twisty maze of little standards, all different. 


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users