Hi ,
I am new to SNMP. I have one SNMP manageable switch. I want know the link
status of each ethernet port. I would be grateful to learn how to generate OID
for device through snmp and how to send trap information regarding link status.
Thanks in advance.
Regards,
John
--
I am using net-snmp-5-4-1.
I looked at the generic helper code. In the file
net-snmp-5.4.1/agent/helpers/table_generic.c
All the functions are empty. I attached the file. So I am not sure how
this helper will work.
My goal is very simple.
I want to code a subagent to register for a mib table and
Hi All,
I am new to SNMP and to this group as well.
I have a small query regarding SNMP data types.
My question is, what are the values that can be stored in OCTET STRING Data
Type i.e. Can we store spaces, tabs, quotes, newlines in OCTET STRING?
Actually I want to parse a string in SNMP MIB and w
Hi,
When agent is used for v1 and v2, rocommunity and rwcommunity in
snmpd.conf are used for access control.
I just wondered if multiple rocommunity (or rwcommunity) directives can
be used without specifying optional SOURCE, so that the agent can
support multiple read-only community (or read-wri
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield
> Sent: Thursday, April 24, 2008 1:48 AM
> It's been said before, and I wouldn't disagree
>
>Net-SNMP documentation sucks
Compared to most projects I've seen, I think that's too harsh. There
is room fo
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of ??
> Sent: Wednesday, April 23, 2008 9:52 PM
> Oh,i'm sorry , i spellworry, i install the 5.1.4 release.
5.1.4 or 5.4.1?
> I follow the FAQ text file in the release package ,
>
> "I've added my code to this template and
2008/4/24 Sathasivam, Elayaraja <[EMAIL PROTECTED]>:
> 1) $cat /etc/hosts.allow
> ALL:PARANOID:deny
> sshd:ALL
Try switching these two around.
Dave
-
This SF.net email is sponsored by the 2008 JavaOne(
Hi Dave,
Thanks for clarification.
John
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Thursday, April 24, 2008 1:39 AM
To: Wang, John
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: SNMP-PROXY-MIB
2008/4/23 Wang, John <[EMAIL
Thanks for your patience.
$ snmpwalk -v 1 -c public localhost versiontag
Output: End of MIB
Sorry for my continuous query... I am very new to this net-snmp.
Thanks & Regards,
ElayaRaja
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
2008/4/24 Sathasivam, Elayaraja <[EMAIL PROTECTED]>:
> 1) I updated ,.
>
>sshd:ALL
>ALL:PARANOID:deny
>ALL:ALL:DENY
Why don't you read what's actually *there*, Dave?!!
"sshd" is not the same as "snmpd" - arg!
OK - try with /etc/hosts.allow containing
ALL:PARANOID
1) I updated ,.
sshd:ALL
ALL:PARANOID:deny
ALL:ALL:DENY
& /etc/init.d/snmpd restart
Again same issues,
$ snmpwalk -v 1 -c public localhost versiontag
Timeout: No Response from localhost
Please kindly advice if I am wrong...
Thanks & Regards,
ElayaRaja
-Original Message---
2008/4/24 Sathasivam, Elayaraja <[EMAIL PROTECTED]>:
> I am not clear on what you mean by " Try switching these two around.",
>
> ALL:PARANOID:deny
> sshd:ALL
> ALL:ALL:DENY
Try
sshd:ALL
ALL:PARANOID:deny
ALL:ALL:DENY
i.e. switch the order of the first two lines.
[And before
Find the output as follows,
1) $cat /etc/hosts.allow
#
# hosts.allow This file describes the names of the hosts which
are
# allowed to use the local INET services, as
decided
# by the '/usr/sbin/tcpd' server.
#
ALL
I am not clear on what you mean by " Try switching these two around.",
For the below,
ALL:PARANOID:deny
sshd:ALL
ALL:ALL:DENY
Thanks & Regards,
ElayaRaja
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Thursday, April 24, 2008 8:33
2008/4/24 Sathasivam, Elayaraja <[EMAIL PROTECTED]>:
> Apr 24 16:18:37 ofrdev-india-infra snmpd[12361]: NET-SNMP version 5.3.1
> Apr 24 16:19:08 ofrdev-india-infra snmpd[12361]: Connection from UDP:
> [127.0.0.1]:16463 REFUSED
Aha!
That would explain the problems you are seeing.
Now it just
1) /etc/init.d/snmpd restart
Stopping snmpd:[ OK
]
Starting snmpd:[ OK
]
2) $snmpget -v 1 -c public localhost sysUpTime.0
Output: Timeout: No Response from localhost.
3) cat /etc/sn
2008/4/24 Sathasivam, Elayaraja <[EMAIL PROTECTED]>:
> $ snmpwalk -v 1 -c public localhost versiontag
> Again the same result " Timeout: No Response from localhost "
Please try the following:
/etc/init.d/snmpd restart
snmpget -v 1 -c public localhost sysUpTime.0
Does t
1) rpm -q -l net-snmp | grep snmpd.conf
Output:
/etc/snmp/snmpd.conf
/usr/share/man/man5/snmpd.conf.5.gz
2) As you said I modified /etc/snmp/snmpd.conf as rocommunity public
3) I restarted $/etc/init.d/snmpd restart
Stopping snmpd:
2008/4/24 Sathasivam, Elayaraja <[EMAIL PROTECTED]>:
> 3) $ snmpwalk -v 1 -c public localhost versiontag
> Timeout: No Response from localhost
> Note:I have updated snmpd.conf file as " rocommunity public" in the
> path /var/net-snmp/snmpd.conf.
No.
You do *not* touch this file.
The most
Hi,
Thanks for all your support. I have installed the net-snmp, please
find the details as follows,
1)$ rpm -q -f `which snmpd`
Output: net-snmp-5.3.1-14.el5
2)$ ps -ef | grep snmp
Output:
root 7836 1 0 15:24 ?00:00:00 /usr/sbin/snmpd -Lsd -Lf
/dev/null -p /var/run/s
net-snmp-devel 5.3.1-19.el5_1.4 Development/Libraries The
development environment for the NET-SNMP project.
net-snmp-devel 5.3.1-19.el5_1.4 Development/Libraries
The development environment for the NET-SNMP project.
net-snmp-libs 5.3.1-19.el5_1.4 Development/Libra
2008/4/24 Sathasivam, Elayaraja <[EMAIL PROTECTED]>:
> After uninstalling all net-snmp by command rpm –e .
> But still I am finding some of the files under
>
> /usr/local/bin/ snmpwalk, etc…
Those will be the commands that you installed manually
(eg. using "make install")
> Could you please he
After uninstalling all net-snmp by command rpm -e . But still I
am finding some of the files under
/usr/local/bin/ snmpwalk, etc...
Could you please help us to uninstall these snmpwalk , snmpget etc from
this /usr/local/bin folder
Thanks & Regards,
ElayaRaja
This mes
2008/4/24 Mayuresh Janorkar <[EMAIL PROTECTED]>:
> But then now my question is why do we need /etc/host.allow
Firstly, this isn't really a question about Net-SNMP.
The /etc/hosts.{allow,deny} mechanism is a separate
standalone system. We just happen to make use of it.
When setting up any sort
I am using OpenSuse 10.2
I am working on a project titled LEAF-SNMP
(Linux Embedded Appliance Firewall)
I want to emulate atleast few properties of LEAF on Linux..
Primarily I want to insert IP address in /etc/host.deny and I want that the
request from that node should not be serviced.
I am
2008/4/23 AMRUTH KUMAR JUTURU <[EMAIL PROTECTED]>:
> Right now when I run the following command , the out put is
>
> snmptranslate .1.3.6.1.2.1.15
> SNMPv2-SMI::mib-2.15
>
> snmptranslate -Of SNMPv2-SMI::mib-2.15
> .iso.org.dod.internet.mgmt.mib-2.15
>
> but where as in the quagga page the exp
[ 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. ]
2008/4/2
2008/4/24 Sebastian Schmidt <[EMAIL PROTECTED]>:
> I'm using the version 5.2.3 on Debian and if I execute snmpd -f -Le -Dexec
> it works!
> Thank you for that. But if I start snmpd with /etc/init.d/snmpd start it
> doesn't work :(
> So do I have to run snmpd with root-rights to let it execute pr
2008/4/23 Mike Ayers <[EMAIL PROTECTED]>:
> > > The table_dataset/group_tdata functions are for
> > "datamatted" [sic] tables
> > > those for which you store the data and forget.
> >
> > That's true for 'table_dataset', but not for 'table_tdata'.
>
> http://www.net-snmp.org/dev/agent/modules
2008/4/23 Wang, John <[EMAIL PROTECTED]>:
> 1. Can the Net-SNMP's proxy forward the traps and informs as
> SNMP-PROXY-MIB implementation does?
The NET-SNMP agent doesn't handle receiving (or forwarding)
notifications.You need to look at the "snmptrapd" receiver,
which does have a mechanism f
2008/4/19 Brendan Simon <[EMAIL PROTECTED]>:
> Are there any detailed examples on how to unregister MIBS "properly" ???
Not really.
> I saw some quick tutorial for registering but I don't recall seeing much
> info on the unregistering side of things. I will keep looking.
In general, we tend n
> 2008/4/23 Sebastian Schmidt <[EMAIL PROTECTED]>:
> > > Try setting the command to be
> > >
> > > /bin/sh /etc/snmp/test.sh start
> >
> > I did but this doesn't change anything...
>
>
> Which version of Net-SNMP are you using?
>
> Try starting the agent using
>
> snmpd -f -Le -Dex
2008/4/24 Karthick Babu <[EMAIL PROTECTED]>:
> What`s the difference between the usmUserName and the usmSecurityName?
SNMPv3 was deliberately designed to accomodate several different
security models (SMs) - different mechanisms for deciding "who" is
making a given request.
As such, it works with
2008/4/24 Sathasivam, Elayaraja <[EMAIL PROTECTED]>:
> I have installed from rpm package. Not from source package.
But you've also said you get:
> $ rpm -q -f `which snmpd`
> file /usr/local/sbin/snmpd is not owned by any package
So the SNMP agent that you are actually running is *NOT*
fro
Hi,
What`s the difference between the usmUserName and the usmSecurityName?
"securityName is the same as the userName" - why is it not enough to have
only one of these columns within the usm table.
I read the description in the MIB, but not clear.
Please help.
Thanks,
Devi.
-
35 matches
Mail list logo