Thomas Anders | 2 Jan 2007 04:08
Picon
Favicon

Re: Question about net-snmp run with AMD cpu

bahamute wrote:
>        Why I can not run net-snmp with AMD cpu ??

http://www.net-snmp.org/support/bugreports.html

+Thomas

--

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

-------------------------------------------------------------------------
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 <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Siddharth Deshpande | 2 Jan 2007 07:44
Picon

fresh install - snmp timeouts

Hi All,

First of all, i'm a new subscriber to this list. I have tried to go
through the archives for the problem i'm facing, but couldn't find any.
So if this question has already been answered before, please bear with
me.

Secondly, i'm a TOTAL newbie to Net-SNMP, SNMP in general, and linux
itself. I'm having to post here as i have been given a job to do and not
doing it is not an option for me. So please put on your kid-gloves! :-)
I am just trying this out on my desktop before i implement this in a
production environment, so i guess i can change many OS related settings
if required. (1 note - i am using runit on debian (not the default
init), and i have configured the snmpd daemon to run as a system service
using a startup script with the main command as:

> # exec snmpd -c /usr/local/share/snmp/snmpd.conf -f -D -A
> -Lf /var/log/snmpd/snmpd.log <My IP>:161

	Please let me know if this is correct).

Now, on to the actual issue. I've downloaded the source for Net-SNMP,
compiled it with pretty much the default options, installed it , and
used the snmpconf perl script to configure it (following the
instructions to the best of my understanding).

When i try to use the simple utilities like snmpget, snmpwalk etc., the
only result i get is:

> <command>: Timeout
(Continue reading)

Dave Shield | 2 Jan 2007 10:35
Picon

Re: fresh install - snmp timeouts

On 02/01/07, Siddharth Deshpande <siddharth <at> deeproot.co.in> wrote:
> i have configured the snmpd daemon to run as a system service
> using a startup script with the main command as:
>
> > # exec snmpd -c /usr/local/share/snmp/snmpd.conf -f -D -A
> >     -Lf /var/log/snmpd/snmpd.log <My IP>:161
>
>         Please let me know if this is correct).

The main thing that I'd suggest is wrong with that command is the '-D'
flag.   This will turn on *all* debugging, which could generate a lot of
output - most of which is probably not useful.

Also, if you've compiled the agent from source with the default settings,
then it should be looking in /usr/local/share/snmp/snmpd.conf
anyway.  So the '-c ...snmpd.conf' option is probably unnecessary
(but shouldn't do any harm).

> When i try to use the simple utilities like snmpget, snmpwalk etc., the
> only result i get is:
>
> > <command>: Timeout

Please see the FAQ entry
     Why doesn't the agent respond?
(http://www.net-snmp.org/wiki/index.php/FAQ:Applications_04)

> > udp        0      0 0.0.0.0:32771           0.0.0.0:*                                 3603/snmpd
> > udp        0      0 0.0.0.0:32772           0.0.0.0:*                                 3603/snmpd
> > udp        0      0 0.0.0.0:32773           0.0.0.0:*                                 3603/snmpd
(Continue reading)

Jean-Paul Minet | 2 Jan 2007 16:18
Picon

Traps sent by Windows machine not recognized

Hi,

I am trying to use net-snmp 5.3.1 on a linux box to receive traps from various 
sources.  Everything seems fine for traps originating, for example, from a 
snmptrap command on another linux box, but when I generate a trap on a Windows 
XP machine (using the native Windows snmp services), I can see the trap reaching 
my linux net-snmp machine (e.g. through a tcpdump):

[root <at> gaia ~]# tcpdump -i eth0 host x.y.z.w and port 162
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
16:05:02.998217 IP iguest.x.y.z.solid-mux > gaia.x.y.z.snmptrap:  C=xxxx 
Trap(690)  E:311.1.13.1.8.83.101.99.117.114.105.116.121 x.y.z.w 
enterpriseSpecific s=528 [|snmp]

but snmptrapd doesn't seem to see it/interpret it correctly.  At least, I don't 
see anything in my syslog message file (while I do with traps generated from a 
linux-based snmptrap command, whether v1 or v2c).  My snmptrapd.conf file only 
contains:

authCommunity log,execute,net xxxx default

Any hint on what could be wrong or how to check further?

Thanks and regards

Jean-Paul

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
(Continue reading)

Alex Burger | 2 Jan 2007 16:45
Picon

Re: Traps sent by Windows machine not recognized


Try it with authorization disabled.  In snmptrapd.conf:

   disableAuthorization yes

Alex

Jean-Paul Minet wrote:
> I am trying to use net-snmp 5.3.1 on a linux box to receive traps from various 
> sources.  Everything seems fine for traps originating, for example, from a 
> snmptrap command on another linux box, but when I generate a trap on a Windows 
> XP machine (using the native Windows snmp services), I can see the trap reaching 
> my linux net-snmp machine (e.g. through a tcpdump):
> 
> [root <at> gaia ~]# tcpdump -i eth0 host x.y.z.w and port 162
> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
> 16:05:02.998217 IP iguest.x.y.z.solid-mux > gaia.x.y.z.snmptrap:  C=xxxx 
> Trap(690)  E:311.1.13.1.8.83.101.99.117.114.105.116.121 x.y.z.w 
> enterpriseSpecific s=528 [|snmp]
> 
> but snmptrapd doesn't seem to see it/interpret it correctly.  At least, I don't 
> see anything in my syslog message file (while I do with traps generated from a 
> linux-based snmptrap command, whether v1 or v2c).  My snmptrapd.conf file only 
> contains:
> 
> authCommunity log,execute,net xxxx default
> 
> Any hint on what could be wrong or how to check further?

(Continue reading)

David Arthur | 2 Jan 2007 21:58

RE: ./configure cannot find openssl

Hello all,

Thanks you all for you time.

The openssl-devel package *was* the issue.
Once I installed the openssl-devel-≤version>.rpm, the configure script was
able to find the openssl stuff and I was allowed to build the agent with
support for MD5/SHA/AES/DES support.

Thanks again for you help!
David Arthur

-----Original Message-----
From: net-snmp-users-bounces <at> lists.sourceforge.net
[mailto:net-snmp-users-bounces <at> lists.sourceforge.net] On Behalf Of John
Anderson
Sent: Friday, December 29, 2006 5:20 PM
To: David Arthur; net-snmp-users <at> lists.sourceforge.net
Subject: RE: ./configure cannot find openssl

>> 1) Using rpm -qa openssl returns: openssl-0.9.7d-15.21,

See if you can find a -dev package for your version of openssl. It's
been a while since I've used an RPM based distro, but it looks like
openssl-version-dev isn't installed.  If you don't have
/usr/include/openssl/* or /usr/local/include/openssl/* then you just
likely need the openssl development package.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
(Continue reading)

payal singla | 3 Jan 2007 07:04
Picon

problem in sending more than one trap

Hi,

I had written a code which sends the trap if host-name is changed.
the code is working fine for the first time, but when we try to change the host-name for the second time
we get the error  :

"No support for any checked transport domain"
snmptrap: unknown host (127.0.0.1)

In main ()
The code is to check the hostname from proc file, infinitely in while loop and as soon as it detects the change a trap function is called.
In trap(),
We are mainly initializing the session , opening  the session, creating pdu, sending the pdu(trap) n closing the session.
main commands used for the above are:
snmp_open
snmp_pdu_create(SNMP_MSG_TRAP2)
snmp_send
snmp_close

since we are able to receive the trap for the first time, this means that we are going on the right track. but for the next time when we change that host-name again, there is some problem related to the session as the snmp_open commands fails and returns NULL.
Kindly point out the things which we might be missing

Thanks,
Payal Singla

-------------------------------------------------------------------------
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 <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Treesa Fairy Joseph | 3 Jan 2007 18:19
Picon

Compilation problem for IFMIB

Hello,
    Please help me with the following.
My system is Fedora Core 3. I have installed net-snmp-5.2.1.2,
in my system. Now I am installing the IFMIB in my system.
I am following the steps specified in the tutorial section of net-snmp
site. I have done the following steps.
1. I have generated the code using mib2c.
2. Generated the Makefile, using the following command.
mib2c -c mfd-makefile.m2m ifTable
3. Now compiling the ifMIB with the following command,
 make -f ifTable_Makefile
And I am getting the following output. 

gcc -o ifTable ifTable_data_access.o  ifTable.o ifTable_interface.o
`net-snmp-config --agent-libs`
/usr/bin/ld: cannot find -lsensors
collect2: ld returned 1 exit status
make: *** [ifTable] Error 1

What to do for this problem?

Thanx in advance,
Treesa

--
Open WebMail Project (http://openwebmail.org)

-------------------------------------------------------------------------
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 <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Srivastava, Namburi (IE10 | 3 Jan 2007 07:47
Picon
Favicon

Reducing the size of libnetsnmp, libnetsnmphelpers etc lib files

Hi,

 

I am building a sub-agent from a normally built Net-SNMP libraries (libnetsnmp, linetsnmphelpers, libnetsnmpmibs etc)

The size of the sub-agent is around 600 KB.

 

I want to reduce the size of the exe.  How can I do that???

Is this size of sub-agent exe depending on the size of the library files???

 

If yes then how do I minimize the size of these library files???

 

Regards,

Sri.

 

*****************************************************************************************************************************************************************************************************************************

This e-mail, and any attachments thereto, are intended only for use by the addressee(s) named herein and may contain privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is illegal and strictly prohibited. If you have received this e-mail in error, please immediately notify me by telephone and permanently delete the original and any copy of any e-mail and any printout thereof.

 

-------------------------------------------------------------------------
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 <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Daniel Lacey | 3 Jan 2007 08:52
Picon
Favicon

Re: Compilation problem for IFMIB

Your setup is a bit old for me, but...
On RHEL 4 and CentOS 4, I get the following:

# ls -l /usr/lib/libsen*
lrwxrwxrwx  1 root root     19 Mar  1  2006 /usr/lib/libsensors.so.3 -> libsensors.so.3.0.5
-rwxr-xr-x  1 root root 139808 Nov  8  2005 /usr/lib/libsensors.so.3.0.5
# rpm -q --whatprovides libsensors.so.3
lm_sensors-2.8.7-2.40.3

You need one or more "lm_sensors" rpms...

Treesa Fairy Joseph wrote:
Hello, Please help me with the following. My system is Fedora Core 3. I have installed net-snmp-5.2.1.2, in my system. Now I am installing the IFMIB in my system. I am following the steps specified in the tutorial section of net-snmp site. I have done the following steps. 1. I have generated the code using mib2c. 2. Generated the Makefile, using the following command. mib2c -c mfd-makefile.m2m ifTable 3. Now compiling the ifMIB with the following command, make -f ifTable_Makefile And I am getting the following output. gcc -o ifTable ifTable_data_access.o ifTable.o ifTable_interface.o `net-snmp-config --agent-libs` /usr/bin/ld: cannot find -lsensors collect2: ld returned 1 exit status make: *** [ifTable] Error 1 What to do for this problem? Thanx in advance, Treesa -- Open WebMail Project (http://openwebmail.org) ------------------------------------------------------------------------- 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 <at> 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 <at> lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Gmane