You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(26) |
Nov
(262) |
Dec
(286) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(416) |
Feb
(420) |
Mar
(638) |
Apr
(722) |
May
(478) |
Jun
(697) |
Jul
(559) |
Aug
(502) |
Sep
(482) |
Oct
(992) |
Nov
(452) |
Dec
(415) |
| 2002 |
Jan
(465) |
Feb
(593) |
Mar
(472) |
Apr
(696) |
May
(715) |
Jun
(544) |
Jul
(428) |
Aug
(552) |
Sep
(418) |
Oct
(429) |
Nov
(327) |
Dec
(255) |
| 2003 |
Jan
(531) |
Feb
(380) |
Mar
(394) |
Apr
(408) |
May
(541) |
Jun
(483) |
Jul
(310) |
Aug
(329) |
Sep
(275) |
Oct
(360) |
Nov
(351) |
Dec
(300) |
| 2004 |
Jan
(334) |
Feb
(468) |
Mar
(433) |
Apr
(433) |
May
(448) |
Jun
(472) |
Jul
(456) |
Aug
(565) |
Sep
(536) |
Oct
(567) |
Nov
(451) |
Dec
(435) |
| 2005 |
Jan
(296) |
Feb
(373) |
Mar
(335) |
Apr
(663) |
May
(456) |
Jun
(537) |
Jul
(268) |
Aug
(364) |
Sep
(284) |
Oct
(395) |
Nov
(387) |
Dec
(391) |
| 2006 |
Jan
(464) |
Feb
(465) |
Mar
(556) |
Apr
(242) |
May
(202) |
Jun
(158) |
Jul
(314) |
Aug
(397) |
Sep
(379) |
Oct
(456) |
Nov
(381) |
Dec
(308) |
| 2007 |
Jan
(380) |
Feb
(438) |
Mar
(337) |
Apr
(344) |
May
(379) |
Jun
(316) |
Jul
(392) |
Aug
(287) |
Sep
(301) |
Oct
(413) |
Nov
(265) |
Dec
(325) |
| 2008 |
Jan
(468) |
Feb
(500) |
Mar
(367) |
Apr
(547) |
May
(316) |
Jun
(289) |
Jul
(383) |
Aug
(167) |
Sep
(190) |
Oct
(162) |
Nov
(152) |
Dec
(236) |
| 2009 |
Jan
(371) |
Feb
(384) |
Mar
(370) |
Apr
(368) |
May
(347) |
Jun
(319) |
Jul
(235) |
Aug
(354) |
Sep
(211) |
Oct
(155) |
Nov
(235) |
Dec
(227) |
| 2010 |
Jan
(326) |
Feb
(250) |
Mar
(336) |
Apr
(318) |
May
(269) |
Jun
(281) |
Jul
(324) |
Aug
(257) |
Sep
(299) |
Oct
(181) |
Nov
(182) |
Dec
(148) |
| 2011 |
Jan
(176) |
Feb
(240) |
Mar
(351) |
Apr
(177) |
May
(100) |
Jun
(131) |
Jul
(168) |
Aug
(228) |
Sep
(122) |
Oct
(115) |
Nov
(116) |
Dec
(88) |
| 2012 |
Jan
(127) |
Feb
(108) |
Mar
(117) |
Apr
(149) |
May
(166) |
Jun
(135) |
Jul
(205) |
Aug
(112) |
Sep
(63) |
Oct
(142) |
Nov
(67) |
Dec
(69) |
| 2013 |
Jan
(140) |
Feb
(62) |
Mar
(56) |
Apr
(38) |
May
(35) |
Jun
(30) |
Jul
(57) |
Aug
(35) |
Sep
(24) |
Oct
(32) |
Nov
(59) |
Dec
(41) |
| 2014 |
Jan
(47) |
Feb
(37) |
Mar
(46) |
Apr
(51) |
May
(36) |
Jun
(31) |
Jul
(49) |
Aug
(50) |
Sep
(38) |
Oct
(67) |
Nov
(47) |
Dec
(55) |
| 2015 |
Jan
(38) |
Feb
(47) |
Mar
(20) |
Apr
(30) |
May
(19) |
Jun
(27) |
Jul
(80) |
Aug
(48) |
Sep
(27) |
Oct
(23) |
Nov
(42) |
Dec
(32) |
| 2016 |
Jan
(34) |
Feb
(15) |
Mar
(46) |
Apr
(44) |
May
(49) |
Jun
(22) |
Jul
(36) |
Aug
(24) |
Sep
(6) |
Oct
(14) |
Nov
(13) |
Dec
(13) |
| 2017 |
Jan
(22) |
Feb
(19) |
Mar
(10) |
Apr
(9) |
May
(30) |
Jun
(48) |
Jul
(20) |
Aug
(21) |
Sep
(17) |
Oct
(11) |
Nov
(22) |
Dec
(16) |
| 2018 |
Jan
(25) |
Feb
(3) |
Mar
(19) |
Apr
(22) |
May
(20) |
Jun
(5) |
Jul
(17) |
Aug
(33) |
Sep
(9) |
Oct
(27) |
Nov
(9) |
Dec
(7) |
| 2019 |
Jan
(18) |
Feb
(23) |
Mar
(12) |
Apr
(22) |
May
(29) |
Jun
(23) |
Jul
(17) |
Aug
(15) |
Sep
(28) |
Oct
(12) |
Nov
(26) |
Dec
(22) |
| 2020 |
Jan
(7) |
Feb
(3) |
Mar
(12) |
Apr
(16) |
May
(24) |
Jun
(20) |
Jul
(43) |
Aug
(10) |
Sep
(5) |
Oct
(10) |
Nov
(6) |
Dec
(20) |
| 2021 |
Jan
(21) |
Feb
(10) |
Mar
(20) |
Apr
(17) |
May
(31) |
Jun
(16) |
Jul
(21) |
Aug
(5) |
Sep
(15) |
Oct
(13) |
Nov
(3) |
Dec
(10) |
| 2022 |
Jan
(10) |
Feb
(16) |
Mar
(14) |
Apr
(5) |
May
(8) |
Jun
(8) |
Jul
(12) |
Aug
(23) |
Sep
(4) |
Oct
(3) |
Nov
(5) |
Dec
|
| 2023 |
Jan
(3) |
Feb
(2) |
Mar
(1) |
Apr
(3) |
May
(3) |
Jun
|
Jul
|
Aug
(8) |
Sep
|
Oct
(3) |
Nov
(2) |
Dec
(3) |
| 2024 |
Jan
(4) |
Feb
(3) |
Mar
(5) |
Apr
(4) |
May
(3) |
Jun
(4) |
Jul
(11) |
Aug
(5) |
Sep
(1) |
Oct
(1) |
Nov
(17) |
Dec
(5) |
| 2025 |
Jan
(3) |
Feb
|
Mar
(2) |
Apr
(7) |
May
(2) |
Jun
(1) |
Jul
(3) |
Aug
(2) |
Sep
|
Oct
|
Nov
(1) |
Dec
(5) |
| 2026 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(2) |
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
1
(14) |
2
(22) |
3
(22) |
4
(17) |
5
(31) |
6
|
|
7
(1) |
8
(32) |
9
(38) |
10
(16) |
11
(19) |
12
(13) |
13
(2) |
|
14
(1) |
15
(11) |
16
(12) |
17
(17) |
18
(15) |
19
(9) |
20
(3) |
|
21
(2) |
22
(13) |
23
(10) |
24
(28) |
25
(9) |
26
(16) |
27
|
|
28
(2) |
29
(15) |
30
(21) |
31
(22) |
|
|
|
|
From: s s. <sab...@ya...> - 2004-03-31 23:35:15
|
Could anyone know how to use snmp -I INITLIST option to add an new module to the initlist? --------------------------------- Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. |
|
From: s s. <sab...@ya...> - 2004-03-31 23:33:00
|
hi
I am trying to extend an agent for the example in the tutorial.
1. I have copied the nstAgentModuleObject.h and nstAgentModuleObject.c files in the agent/mibgroups dir
2. I can run snmptranslate and get the object identified
3. ./configure --with-mib-modules="nstAgentModuleObject"
once done net-snmp-5.0.9\agent\mibgroup\mib_module_inits.h
contain following initialization
/* This file is automatically generated by configure. Do not modify by hand. */
if (should_init("nstAgentModuleObject")) init_nstAgentModuleObject();
if (should_init("system_mib")) init_system_mib();
if (should_init("sysORTable")) init_sysORTable();
if (should_init("at")) init_at();
if (should_init("interfaces")) init_interfaces();
if (should_init("snmp_mib")) init_snmp_mib();
4. make
5. make install
6. /usr/local/sbin/snmpd -Dmib_init nstAgentModuleObject
-L -c /home/ssayeed/net-snmp-5.0.9/snmpd.conf
I get the following output
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[root@localhost net-snmp-5.0.9]# /usr/local/sbin/snmpd -Dmib_init nstAgentModuleObject -L -c /home/ssayeed/net-snmp-5.0.9/snmpd.conf
[root@localhost net-snmp-5.0.9]# mib_init: initializing: system_mib
mib_init: initializing: sysORTable
mib_init: initializing: at
mib_init: initializing: interfaces
mib_init: initializing: snmp_mib
mib_init: initializing: tcp
mib_init: initializing: icmp
mib_init: initializing: ip
mib_init: initializing: udp
mib_init: initializing: vacm_vars
mib_init: initializing: setSerialNo
mib_init: initializing: memory
mib_init: initializing: vmstat
mib_init: initializing: proc
mib_init: initializing: versioninfo
mib_init: initializing: pass
mib_init: initializing: pass_persist
mib_init: initializing: disk
mib_init: initializing: loadave
mib_init: initializing: extensible
mib_init: initializing: errormib
mib_init: initializing: file
mib_init: initializing: dlmod
mib_init: initializing: proxy
mib_init: initializing: logmatch
mib_init: initializing: snmpEngine
mib_init: initializing: snmpMPDStats
mib_init: initializing: usmStats
mib_init: initializing: usmUser
mib_init: initializing: snmpNotifyTable
mib_init: initializing: snmpNotifyFilterTable
mib_init: initializing: snmpNotifyFilterProfileTable
mib_init: initializing: snmpTargetAddrEntry
mib_init: initializing: snmpTargetParamsEntry
mib_init: initializing: target_counters
mib_init: initializing: nsTransactionTable
mib_init: initializing: nsModuleTable
mib_init: initializing: nsDebug
mib_init: initializing: nsCache
mib_init: initializing: nsLogging
mib_init: initializing: subagent
mib_init: initializing: override
mib_init: initializing: tcpTable
mib_init: initializing: var_route
mib_init: initializing: udpTable
mib_init: initializing: vacm_context
mib_init: initializing: agentx_config
Turning on AgentX master support.
Error opening specified endpoint "nstAgentModuleObject"
Server Exiting with code 1
My Question is why snmpd is not picking up net-snmp-5.0.9\agent\mib_module_inits.h ? When I did find on this file I can only find it on the above dir.
Can anyone please tell me why am I having this discrepency???
Thanks,
Sabina
---------------------------------
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time. |
|
From: s s. <sab...@ya...> - 2004-03-31 20:29:30
|
Hi; 1. I have copied the two files in the agent/mibgroups dir 2. I have NET-SNMP-TUTORIAL-MIB.txt in both net-snmp-5.0.9/mibs and /usr/local/share/snmp/mibs 3. `./configure --with-mib-modules="nstAgentModuleObject"` , 4. make 5. make install 6. /usr/local/sbin/snmpd SNMP queries on the object returns "Unknown OID". ******************************************************************************************** [root@localhost net-snmp-5.0.9]# snmpget localhost NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0: Unknown Object Identifier ****************************************************************************************** [[root@localhost net-snmp-5.0.9]# snmptranslate -IR -Tp nstAgentModuleObject Unknown object identifier: nstAgentModuleObject Can anyone please help?? Thanks Sabina --------------------------------- Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. |
|
From: Carlos C. <cc...@us...> - 2004-03-31 20:08:24
|
This script is designed for what I do on a daily basis, but can be easi=
ly
modified to fit your needs. Also don't forget to 'chmod +x Dump' (or
whatever you name your script) so it can be executed from a shell. Don=
't
know why I had to use [ $# -gt 0 ] instead of [ $# > 0 ], but anyway...=
.
Dump:
#!/bin/bash
# set and export the environment variable 'AGENT' to the hostname or IP=
# address that you want to query. snmpwalk defaults to mib-2 if no OID=
# is specified, but I changed that to internet because I need OIDs down=
# the mgmt tree and private tree. Remove 'internet' from the last call=
# to snmpwalk if you'd rather have mib-2 as the default
if [ ! $AGENT ] ; then
echo "AGENT needs to be set to hostname or IP address"
exit
fi
# set the path to look for MIBs and set community name
MIBDIR=3D"/usr/local/share/snmp/mibs"
COMM=3D"public"
if [ $# -gt 0 ] ; then
if [ $1 =3D '-h' ] ; then
echo "Usage: Dump [OID]"
else
# get the OID
OID=3D$1
# dump OIDs with user assigned top OID
snmpwalk -c$COMM -mALL -M$MIBDIR $AGENT $OID
fi
else
# dump OIDs starting from internet node (my default)
snmpwalk -c$COMM -mALL -M$MIBDIR $AGENT internet
fi=
|
|
From: Carlos C. <cc...@us...> - 2004-03-31 18:34:43
|
The following scripts allow you to use snmpget, snmpgetnext, and snmpse=
t by
only typing in the name of the script and the OID. (And the value for
sets.) The Set script will also need to be modified with your write-ac=
cess
community name. I also do an 'export AGENT=3Dhostname' from the shell =
I'm
working in.
For example,
> export AGENT=3Dmybox
> Get sysContact.0
> Next sysContact
> Set sysContact "Me"
As we've concluded from previous thread, I'm not a scripting pro, but
anyway. Hope they help.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Get:
#!/bin/bash
# set and export the environment variable 'AGENT' to the hostname or IP=
# address that you want to query
# get the AGENT and OID
if [ $# =3D 0 ] ; then
echo "Usage: Get sysDescr.0"
else
if [ $AGENT =3D NULL ] ; then
echo "AGENT needs to be set to hostname or IP address"
else
# get the OID
OID=3D$1
# set the path to look for MIBs and set community name
MIBDIR=3D"/usr/local/share/snmp/mibs"
COMM=3D"public"
snmpget -c$COMM -mALL -M$MIBDIR $AGENT $OID
fi
fi
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Next:
#!/bin/bash
# set and export the environment variable 'AGENT' to the hostname or IP=
# address that you want to query
if [ $# =3D 0 ] ; then
echo "Usage: Next sysDescr"
else
if [ $AGENT =3D NULL ] ; then
echo "AGENT needs to be set to hostname or IP address"
else
# get the OID
OID=3D$1
# set the path to look for MIBs and set community
MIBDIR=3D"/usr/local/share/snmp/mibs"
COMM=3D"public"
snmpgetnext -c$COMM -mALL -M$MIBDIR $AGENT $OID
fi
fi
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Set:
#!/bin/bash
# set and export the environment variable 'AGENT' to the hostname or IP=
# address that you want to query
if [ $# =3D 0 ] ; then
echo "Usage: Set sysContact.0 \"Carlos\""
else
if [ $AGENT =3D NULL ] ; then
echo "AGENT needs to be set to hostname or IP address"
else
# get the OID
OID=3D$1
VAL=3D$2
# set the path to look for MIBs and set community
MIBDIR=3D"/usr/local/share/snmp/mibs"
COMM=3D"******" <=3D=3D=3D=3D=3D *** SET THIS TO YOUR R/W COMMUNI=
TY *** =3D=3D=3D=3D=3D>
snmpset -c$COMM -mALL -M$MIBDIR $AGENT $OID =3D "$VAL"
fi
fi=
|
|
From: Dave S. <D.T...@cs...> - 2004-03-31 17:00:48
|
>> What do you mean by a "default user" ? > "default user" only has meaning from the point of view of our node- an > initial user that can be used from startup and subsequently to give > basic RO rights and to be able to check that the whole thing is working. OK - try using "rouser" > Other users would be added at runtime. How? By cloning existing users via the usmUserTable? That would imply that you'd need a write-capable user configured as well. Dave |
|
From: Andy F. <and...@te...> - 2004-03-31 16:38:55
|
Thanks Dave
Will the information in this trap be exactly as it is before it's
forwarded.
i.e. I have a number of distributed snmptrapd daemons running on
separate networks behind a firewall and NAT. The separate networks are
all on similar address ranges so I need an indicator as to which network
the trap came from
Any ideas
Thanks
Andy
On Wed, 2004-03-31 at 16:58, Dave Shield wrote:
> > Anyone have a reliable method of forwarding snmp traps using net-snmp
>
> Have you tried the 'forward' snmptrapd.conf directive?
> New with the 5.1 line
>
> Dave
--
perl -e 'print qq^;@) [###]^^qq^z\.MY{eLQ9^'
in:control developer, Telindus, RG27 9HY
DDI: +44 1256 709211, GSM: +44 7810 636652
|
|
From: Andy F. <and...@te...> - 2004-03-31 16:36:05
|
Yeah - I have tried that one using the traphandle directive. What I actually wanted to do is to modify the trap by appending a new field and then forward it on. Unfortunately, it's very difficult to create a generic script to decode the snmptrap using the traphandle script and then reconstruct the snmtrap arguments to mimic the incoming trap. Andy On Wed, 2004-03-31 at 17:36, Kevin Stretch wrote: > We use snmptrapd to collect the traps and sec to forward them. > > Not really sure about the details as I didn't set it up > Gives you a start anyway. > > -Kevin > > Dave Shield wrote: > > > Anyone have a reliable method of forwarding snmp traps using net-snmp > > > > > Have you tried the 'forward' snmptrapd.conf directive? > > New with the 5.1 line > > > > Dave > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IBM Linux Tutorials > > Free Linux tutorial presented by Daniel Robbins, President and CEO of > > GenToo technologies. Learn everything from fundamentals to system > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > _______________________________________________ > > Net-snmp-users mailing list > > Net...@li... > > Please see the following page to unsubscribe or change other options: > > https://lists.sourceforge.net/lists/listinfo/net-snmp-users > > > > -- perl -e 'print qq^;@) [###]^^qq^z\.MY{eLQ9^' in:control developer, Telindus, RG27 9HY DDI: +44 1256 709211, GSM: +44 7810 636652 |
|
From: Kevin S. <kst...@sh...> - 2004-03-31 16:32:03
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body>
We use snmptrapd to collect the traps and sec to forward them.<br>
<br>
Not really sure about the details as I didn't set it up<br>
Gives you a start anyway.<br>
<br>
-Kevin<br>
<br>
Dave Shield wrote:
<blockquote
cite="mid...@da..."
type="cite">
<blockquote type="cite">
<pre wrap="">Anyone have a reliable method of forwarding snmp traps using net-snmp
</pre>
</blockquote>
<pre wrap=""><!---->
Have you tried the 'forward' snmptrapd.conf directive?
New with the 5.1 line
Dave
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Net-snmp-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Net...@li...">Net...@li...</a>
Please see the following page to unsubscribe or change other options:
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/net-snmp-users">https://lists.sourceforge.net/lists/listinfo/net-snmp-users</a>
</pre>
</blockquote>
<br>
</body>
</html>
|
|
From: Carlos C. <cc...@us...> - 2004-03-31 16:25:31
|
> Remember that the whitespace and quotes are interpreted by the shell, > So the shell will strip off the quotes and pass the > $VAL value as a single parameter, regardless of whether it contains > whitespace, or is an integer, or an OID, or whatever. Really? See that's why I'll never master scripting. In C, if you have a string "27", that is the actual ASCII characters 0x32, 0x37, 0x00. I'm not used to having things magically transform from quoted string to integer without first doing an atoi or something. So what happens (I know, I know; this is now entirely not a Net-SNMP thread anymore) if I do this: $VAL < cat $VAL "z" Don't know if this is proper syntax, but you get the point that now I've changed VAL's value from "27" to "27z" and now I call snmpset of an integer OID with this value. I figure I would get BAD_VALUE returned from the agent since the shell was not able to magically convert that to an int for me. And in fact it's true. I figured instead of rambling about it, I should test it out. Set prtGeneralCurrentLocalization.1 "3" and Set prtGeneralCurrentLocalization.1 3 work just fine. This is an integer OID. Setting it to "3z" gives bad value. Also, Set sysContact.0 "27" and Set sysContact.0 27 worked without problems. This may be easier for the user to not have to remember whether to use quotes or not, but I still don't like it. It just seems to go against all that is good and decent in the world -- like the Irish not being able to smoke in a pub :-) |
|
From: Dave S. <D.T...@cs...> - 2004-03-31 16:00:45
|
> Anyone have a reliable method of forwarding snmp traps using net-snmp Have you tried the 'forward' snmptrapd.conf directive? New with the 5.1 line Dave |
|
From: Andy F. <and...@te...> - 2004-03-31 14:55:42
|
Anyone have a reliable method of forwarding snmp traps using net-snmp
Thanks
Andy
--
perl -e 'print qq^;@) [###]^^qq^z\.MY{eLQ9^'
in:control developer, Telindus, RG27 9HY
DDI: +44 1256 709211, GSM: +44 7810 636652
|
|
From: Karine de R. de P. <kar...@ox...> - 2004-03-31 14:41:37
|
Hi, SNMP is a bit new to me...i would like to monitor the RAID controller (PERC 3 or 5) of my Dell PowerEdge. I tried looking for the appropriate MIBs on dell.com and support.dell.com, but can't find anytning. Does anyone know where i can find them? Thx, tinka |
|
From: Mark D. <Mar...@Su...> - 2004-03-31 14:14:58
|
I wonder if you can clear something up for me. Its the included/excluded value in the view token. When this value is set to excluded does this mean the the user can view everything except the values in the subtree mask specified? The reason is this - I set up the snmpd.conf file like so: group grpname usm user1 view cust1 included .1.3.6.1.2.1.1.6.0 fe.80 access grpname "" any noauth exact cust1 cust1 none and I was able to get and set the following: bash-2.05$ snmpset -t 10 -mall -v3 -u user1 -n "" -l noAuthNoPriv stiletto28-sc sunPlatAlarmState.5346 i 3 Error in packet. Reason: noAccess bash-2.05$ snmpset -t 10 -mall -v3 -u user1 -n "" -l noAuthNoPriv stiletto28-sc sunPlatAlarmState.5346 i 3 Error in packet. Reason: noAccess bash-2.05$ snmpset -t 10 -mall -v3 -u user1 -n "" -l noAuthNoPriv stiletto28-sc sysLocation.0 s Dublin SNMPv2-MIB::sysLocation.0 = STRING: Dublin bash-2.05$ snmpget -t 10 -mall -v3 -u user1 -n "" -l noAuthNoPriv stiletto28-sc sysLocation.0 sysDescr.0 SNMPv2-MIB::sysLocation.0 = STRING: Dublin this is correct now when I set the snmpd.conf file up like so: group grpname usm user1 view cust1 excluded .1.3.6.1.2.1.1.6.0 fe.80 access grpname "" any noauth exact cust1 cust1 none I expected that I would not be able to get or set the sysTable but I would be able to get and set the sunPlatAlarmState.5346. In actual fact I seem to be excluded from getting any values: bash-2.05$ snmpset -t 10 -mall -v3 -u user1 -n "" -l noAuthNoPriv stiletto28-sc sunPlatAlarmState.5346 i 3 Error in packet. Reason: noAccess bash-2.05$ snmpget -t 10 -mall -v3 -u user1 -n "" -l noAuthNoPriv stiletto28-sc sunPlatAlarmState.5346SUN-PLATFORM-MIB::sunPlatAlarmState.5346 = No Such Object available on this agent at this OID bash-2.05$ snmpset -t 10 -mall -v3 -u user1 -n "" -l noAuthNoPriv stiletto28-sc sysLocation.0 s DublinError in packet. Reason: noAccess bash-2.05$ snmpget -t 10 -mall -v3 -u user1 -n "" -l noAuthNoPriv stiletto28-sc sysLocation.0 SNMPv2-MIB::sysLocation.0 = No Such Object available on this agent at this OID Is this a bug or am I reading the meaning of exclude wrongly? |
|
From: Oleg I. <Be...@ze...> - 2004-03-31 13:59:57
|
Hello list, When I configure on Linux machine net-snmp, it define agent_mibs two times, and created file mib_module_config.h define USING_AGENT_MIBS_MODULE also two times. Is this a bug ? -- Oleg Ivanov - Zelax Telecom. Be...@ze... |
|
From: Marcin N. <M.N...@ad...> - 2004-03-31 13:29:45
|
Hi, Does anyone could help: how to use Net-SNMP 5.1.1 commands (snmpwalk.exe, snmpget.exe, snmpset.exe), in SNMP version 3, directly with parameters of authorisation key or privacy key instead of passphrases, without changing the source code? Thanks in advance for any help, -- Best regards, Marcin Nowakowski |
|
From: David G. <Dav...@er...> - 2004-03-31 13:24:36
|
Hi Dave, Sorry for the lame questions but we'd already read those sections of the FAQ several times and still couldn't figure out what we needed (most likely due to our increasingly fuzzy knowledge of SNMP terminology, a late night, a deadline for documentation and an act of desperation, call it what you will). _Thanks for your patience_. 1. What do you mean by a "default user" ? The snmpd.conf file(s) will need to list every user that the agent knows about. There isn't really the idea of a "default user" as far as the agent is concerned. "default user" only has meaning from the point of view of our node- an initial user that can be used from startup and subsequently to give basic RO rights and to be able to check that the whole thing is working. Other users would be added at runtime. 2. " The 'com2sec' directive is *only* concerned with the community-based versions (i.e. SNMPv1 & SNMPv2c) It's completely irrelevant to SNMPv3 " That's OK, we understand that bit at least. Our real problem was how to specify security names for SNMPv3 and what we had forgotten was that security name was equivalent to a "user" name: "With SNMPv3, the security name is part of the basic protocol, and can be used directly in a group definition... And the 'snmp.conf' file (note the name!) can indeed include the directive "defSecurityName" " Once again, thanks! BR, David Dave Shield wrote: >>We'd like to specify a default user in the snmpd.conf file. >> >> > >What do you mean by a "default user" ? >The snmpd.conf file(s) will need to list every user that the agent >knows about. There isn't really the idea of a "default user" as >far as the agent is concerned. > >That makes more sense for the client side. >And the 'snmp.conf' file (note the name!) can indeed include >the directive "defSecurityName" > > > > >>- Does every security name need to be specified via com2sec ? >> >> > >No. >The 'com2sec' directive is *only* concerned with the community-based >versions (i.e. SNMPv1 & SNMPv2c) >It's completely irrelevant to SNMPv3 > > > > >>- Does the usm security model need to have a source IP/ mask specified? >> >> > >No. >A valid user is accepted regardless of where the request originated. >There is no facility for limiting requests by source address. > > > > >>- Would "com2sec my_public default public" result in a user who can >>connect from anywhere? >> >> > >It would result in a *community* that could connect from anywhere. >(Though what this community could do would depend on the other access >configuration settings). > > > > >>Alternatively, could we replace "default" with 0.0.0.0/0 ? >> >> > >That's (probably) exactly equivalent, yes. > > > >If you haven't already done so, you might like to take a look at the >FAQ list. In particular, the entries > > How do I configure access control? >and I don't understand the new access control stuff - what does it mean? > > > > > > > >>This communication is confidential and intended solely for the addressee(s). >>Any unauthorized review, use, disclosure or distribution is prohibited. >>If you believe this message has been sent to you in error, please notify >>the sender by replying to this transmission and delete the message without >>disclosing it. Thank you. >> >> > >This electronic transmission is not confidential, and is intended for >anyone who may find the information of use. Review, use, disclosure and >distribution are encouraged. If you believe this message has been sent to >you in error, please do *NOT* notify the sender in any way, but simply >delete the message. Whether you disclose it or not is totally up to you. >Thank you. > > |
|
From: Dave S. <D.T...@cs...> - 2004-03-31 12:17:35
|
> We'd like to specify a default user in the snmpd.conf file. What do you mean by a "default user" ? The snmpd.conf file(s) will need to list every user that the agent knows about. There isn't really the idea of a "default user" as far as the agent is concerned. That makes more sense for the client side. And the 'snmp.conf' file (note the name!) can indeed include the directive "defSecurityName" > - Does every security name need to be specified via com2sec ? No. The 'com2sec' directive is *only* concerned with the community-based versions (i.e. SNMPv1 & SNMPv2c) It's completely irrelevant to SNMPv3 > - Does the usm security model need to have a source IP/ mask specified? No. A valid user is accepted regardless of where the request originated. There is no facility for limiting requests by source address. > - Would "com2sec my_public default public" result in a user who can > connect from anywhere? It would result in a *community* that could connect from anywhere. (Though what this community could do would depend on the other access configuration settings). > Alternatively, could we replace "default" with 0.0.0.0/0 ? That's (probably) exactly equivalent, yes. If you haven't already done so, you might like to take a look at the FAQ list. In particular, the entries How do I configure access control? and I don't understand the new access control stuff - what does it mean? > This communication is confidential and intended solely for the addressee(s). > Any unauthorized review, use, disclosure or distribution is prohibited. > If you believe this message has been sent to you in error, please notify > the sender by replying to this transmission and delete the message without > disclosing it. Thank you. This electronic transmission is not confidential, and is intended for anyone who may find the information of use. Review, use, disclosure and distribution are encouraged. If you believe this message has been sent to you in error, please do *NOT* notify the sender in any way, but simply delete the message. Whether you disclose it or not is totally up to you. Thank you. |
|
From: Steve C. <st...@4D...> - 2004-03-31 11:59:59
|
Hi,
I'm trying to compile an agent for an XScale embedded device. I'm using
arm-linux-gcc version 3.2.1, with kernel version 2.4.21-rmk1-ds3.
Error reported during ./configure
checking net/route.h usability... no
checking net/route.h presence... yes
configure: WARNING: net/route.h: present but cannot be compiled
configure: WARNING: net/route.h: check for missing prerequisite headers?
configure: WARNING: net/route.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug...@gn.... ##
configure: WARNING: ## ------------------------------------ ##
/include/net-snmp/net-snmp-config.h/ has HAVE_NET_ROUTE_H set to 1,
despite autoconf seeming to indicate that it is not useable?
Making the agent then causes a bunch of errors to be spat out, starting
with :
In file included from /home/steve/cpe/linux/include/net/route.h:28,
from mibII/at.c:74:
/home/steve/cpe/linux/include/net/dst.h:30: parse error before "atomic_t"
/home/steve/cpe/linux/include/net/dst.h:30: warning: no semicolon at end
of struct or union
/home/steve/cpe/linux/include/net/dst.h:67: parse error before '}' token
/home/steve/cpe/linux/include/net/dst.h:85: parse error before "atomic_t"
/home/steve/cpe/linux/include/net/dst.h:85: warning: no semicolon at end
of struct or union
/home/steve/cpe/linux/include/net/dst.h:86: warning: type defaults to
`int' in declaration of `kmem_cachep'
/home/steve/cpe/linux/include/net/dst.h:86: warning: data definition has
no type or storage class
/home/steve/cpe/linux/include/net/dst.h:87: parse error before '}' token
In file included from /home/steve/cpe/linux/include/linux/sched.h:18,
from /home/steve/cpe/linux/include/net/inetpeer.h:14,
from /home/steve/cpe/linux/include/net/route.h:29,
from mibII/at.c:74:
/home/steve/cpe/linux/include/asm/semaphore.h:18: parse error before
"wait_queue_head_t"
/home/steve/cpe/linux/include/asm/semaphore.h:18: warning: no semicolon
at end of struct or union
/home/steve/cpe/linux/include/asm/semaphore.h: In function `sema_init':
/home/steve/cpe/linux/include/asm/semaphore.h:47: warning: implicit
declaration of function `atomic_set'
/home/steve/cpe/linux/include/asm/semaphore.h:47: dereferencing pointer
to incomplete type
/home/steve/cpe/linux/include/asm/semaphore.h:48: dereferencing pointer
to incomplete type
/home/steve/cpe/linux/include/asm/semaphore.h:49: warning: implicit
declaration of function `init_waitqueue_head'
/home/steve/cpe/linux/include/asm/semaphore.h:49: dereferencing pointer
to incomplete type
/home/steve/cpe/linux/include/asm/semaphore.h: In function `sem_getcount':
/home/steve/cpe/linux/include/asm/semaphore.h:130: warning: implicit
declaration of function `atomic_read'
/home/steve/cpe/linux/include/asm/semaphore.h:130: dereferencing pointer
to incomplete type
In file included from /home/steve/cpe/linux/include/linux/signal.h:4,
If I go and set HAVE_NET_ROUTE_H to 0, I don't get the same errors, but
I still
get a bunch of errors, most of which seem to indicate that <linux/in.h> and
<net/route.h> should have been included .....
Advice, or a compilable version of net/route.h would be greatly
appreciated :)
I can compile an agent if I set/ --enable-mini-agent/ but as Sod's law
would have it, this mini-agent isn't of much use to me.
Best regards
Steve Comfort
|
|
From: Andy F. <and...@te...> - 2004-03-31 11:09:20
|
Anyone used Mon::SNMP before?
I am trying to find a method to decode, append then forward a trap to a
new SNMP receiver.
I've taken a look at the traphandle directive for the net-snmp snmptrap
daemon and I'm wondering whether the task is bigger than I first
imagined.
Anyone had a go at this before??
--
perl -e 'print qq^;@) [###]^^qq^z\.MY{eLQ9^'
in:control developer, Telindus, RG27 9HY
DDI: +44 1256 709211, GSM: +44 7810 636652
|
|
From: Dave S. <D.T...@cs...> - 2004-03-31 11:05:03
|
> setting sysContact.0 to "The Man" will not work from > my script since snmpset thinks I'm trying to do multiple sets. I think= > this behaviour stems from the fact that even though the string "The Man= " > is sent in as an argument to my script quoted, I'm not sending it to > snmpset quoted. So quote it, dear Carlos, dear Carlos, dear Carlos. So quote it, dear Carlos, dear Carlos, my dear >> =A0 =A0 snmpset -c$COMM -mALL -M$MIBDIR $AGENT $OID =3D "$VAL" should work fine. Remember that the whitespace and quotes are interpreted by the shell, not the snmptranslate command. So it doesn't matter what type the value actually is - the shell will strip off the quotes and pass the $VAL value as a single parameter, regardless of whether it contains whitespace, or is an integer, or an OID, or whatever. Dave PS: Please - No HTML mail. Thanks |
|
From: Chad S. <cw...@sb...> - 2004-03-31 03:20:22
|
I have been trying to setup the snmpd that ships with suse 9.0 and have run into a question for which I have been unable to find a solution. I have defined a community and have two views that I would like to make available to my public community for reading. Is it possible in the snmpd config file to map two views to a single community? I have tried adding two access lines, but it appears that only the first entry is honored. Does anyone know if this is possible? Example below: com2sec localNet 10.0.0.0/8 public com2sec localNet 127.0.0.1 public group localGroup v1 localNet group localGroup v2c localNet group localGroup usm localNet view mib2 included .iso.org.dod.internet.mgmt.mib-2 fc view ucdavis included .iso.org.dod.internet.private.enterprises.ucdavis f3 access localGroup "" any noauth exact mib2 none none access localGroup "" any noauth exact ucdavis none none Thanks, Chad Skinner |
|
From: ike n. <ike...@ho...> - 2004-03-30 21:46:33
|
Good news! It works (passes all tests) if you avoid "configure --with-perl-modules" and instead compile the perl module separately after the main package. Thanks Al! ike >From: "Sorrell, Al" <Al_...@tr...> > >OK - in looking at your original post, it looks like we did things >slightly differently. >Here's what I did: > >./configure --with-default-snmp-version="2" >make >umask 022 #as root >make install > >cd net-snmp-5.1.1/perl >/usr/local/bin/perl Makefile.PL # make sure I have the right version >make >make install # as root >make test > >Might try that after cleaning things out... This is what's given in the >INSTALL doc. >HTH, >Al _________________________________________________________________ Check out MSN PC Safety & Security to help ensure your PC is protected and safe. http://specials.msn.com/msn/security.asp |
|
From: ike n. <ike...@ho...> - 2004-03-30 20:47:54
|
Took a look at why OID.pm carped: (following up on my recent post)
/usr/local/bin/perl -d OIDtest.pl
DB<1> b NetSNMP::OID::new
DB<2> b NetSNMP::OID::newwithptr
DB<3> c
8<...>8
NetSNMP::OID::new(/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/NetSNMP/OID.pm:100):
100: my $ptr = NetSNMP::OID::newptr($arg);
DB<3> s
Can't parse: .1.3.6.1
NetSNMP::OID::new(/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/NetSNMP/OID.pm:101):
101: if ($ptr) {
8<...>8
and next debug run:
DB<4> b NetSNMP::OID::newptr
Subroutine NetSNMP::OID::newptr not found.
I guess this function is only available internally somehow. By greping thru
the src I found
snmp_parse_oid() in snmp_lib/mib.c (which is what actually breaks here).
Can't tell exactly what's wrong, but I get the impression that failure to
load MIBs is behind
the problem. Perhaps it requires to find names for the numeric OIDs I'm
trying to create?
Error messages could be a little more to the point...
=> How can I verify the default_store & MIB loading is setup & working OK?
This looks OK I think? From include/net-snmp/net-snmp-config.h:
/* default location to look for mibs to load using the above tokens
and/or those in the MIBS envrionment variable*/
#define DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/opt/local/share/snmp/mibs"
Comments, anyone?
Thanks, ike
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar get it now!
http://toolbar.msn.com/go/onm00200415ave/direct/01/
|
|
From: Carlos C. <cc...@us...> - 2004-03-30 18:41:05
|
> > 1.) Read the OID to be set ($1 below) and look it up in its MIB to get > > its type, and use that in the call to snmpset. > > You could use > snmptranslate -Tp $1 I may still need to use the snmptranslate solution instead of the '=': > snmpset -c$COMM -mALL -M$MIBDIR $AGENT $OID = $VAL Because, for example, setting sysContact.0 to "The Man" will not work from my script since snmpset thinks I'm trying to do multiple sets. I think this behaviour stems from the fact that even though the string "The Man" is sent in as an argument to my script quoted, I'm not sending it to snmpset quoted. And in order to do so when setting OIDs of type DisplayString and not of type Integer, I would need to know the type in my script. Enter snmptranslate. So here's my question. Actually, if what I've said above holds any resemblence to the truth, then no response is necessary, I need to just use snmptranslate. However, in the slight chance that I'm full of unprocessed manure, let me know because if I can keep the script simple by using the '=', that would be ideal. Thanks. |