7.2: snmp mibtree command broken

2022-12-20 Thread Matthias Pitzl
Hi, Since the release of OpenBSD 7.2, snmp mibtree is broken: > root@host:~# snmp mibtree > snmp: No securityName specified Greetings, Matthias -- genua GmbH Domagkstraße 7, 85551 Kirchheim bei München T +49 89 991950-0, F -999, www.genua.de Geschäftsführer: Matthias Ochs, Marc

Re: snmp protocol error

2022-12-12 Thread Byron Klippert
12:57, Stuart Henderson wrote: >> > On 2022-12-09, Byron Klippert wrote: >> > > Hello, >> > > >> > > I get an snmp protocol error response when attempting to `snmp get` >> > > certain OIDs on various devices. However `tcpdump` shows that the d

Re: snmp protocol error

2022-12-10 Thread Martijn van Duren
On Fri, 2022-12-09 at 13:35 -0700, Byron Klippert wrote: > On Fri, Dec 9, 2022, at 12:57, Stuart Henderson wrote: > > On 2022-12-09, Byron Klippert wrote: > > > Hello, > > > > > > I get an snmp protocol error response when attempting to `snmp get` > >

Re: snmp protocol error

2022-12-09 Thread Byron Klippert
On Fri, Dec 9, 2022, at 12:57, Stuart Henderson wrote: > On 2022-12-09, Byron Klippert wrote: >> Hello, >> >> I get an snmp protocol error response when attempting to `snmp get` certain >> OIDs on various devices. However `tcpdump` shows that the device is actua

Re: snmp protocol error

2022-12-09 Thread Stuart Henderson
On 2022-12-09, Byron Klippert wrote: > Hello, > > I get an snmp protocol error response when attempting to `snmp get` certain > OIDs on various devices. However `tcpdump` shows that the device is actually > responding with the anticipated result but it appears snmp isn't

snmp protocol error

2022-12-09 Thread Byron Klippert
Hello, I get an snmp protocol error response when attempting to `snmp get` certain OIDs on various devices. However `tcpdump` shows that the device is actually responding with the anticipated result but it appears snmp isn't able to parse the response correctly? Any suggestions on h

Re: snmp traps

2022-10-19 Thread Stuart Henderson
On 2022-10-19, Alec wrote: > >>However I think you could /probably/ already implement this yourself by >>calling snmp(1) 'trap' from sensorsd if you wanted this now. > > Ah, for that we have wonderful swiss-knife called "ifstated" that can be > abu

Re: snmp traps

2022-10-19 Thread Alec
is not actually very useful). This would probably best be done in >conjunction with sensorsd and its configuration language (perhaps even >moving the whole sensors mib there from snmpd-metrics, though that >might be overkill). >However I think you could /probably/ already implement this yours

Re: snmp traps

2022-10-19 Thread Stuart Henderson
r itself report 'critical'" which IME is not actually very useful). This would probably best be done in conjunction with sensorsd and its configuration language (perhaps even moving the whole sensors mib there from snmpd-metrics, though that might be overkill). However I think you

Re: snmp MIBs

2022-10-18 Thread Alec
Sorry about that.Was trying to keep all lines short. >Are the tables also used or did you add the persist keyword to them? >If not the optimiser will remove them and empty snmp tables will return >the noSuchObject exception. Hmm, I have about 15 tables, some are empty some have

Re: snmp MIBs

2022-10-18 Thread Martijn van Duren
        > ::= { pfTblAddrEntry 1 } > Which translates to OID 1.3.6.1.4.1.30155.1.9.129.1.1 (if I am not mistaken).  > If I do snmp walk of the whole 1.3 I can see that after  > 1.3.6.1.4.1.30155.1.9.128 the next OID is 1.3.6.1.4.1.30155.1.10.1.0, so  > 1.3.6.1.4.1.30155.1.9.129

snmp MIBs

2022-10-18 Thread Alec
        "The index value which uniquely identifies the table which        contains this pfTblAddrNet/pfTblAddrMask pair."        ::= { pfTblAddrEntry 1 } Which translates to OID 1.3.6.1.4.1.30155.1.9.129.1.1 (if I am not mistaken).  If I do snmp walk of the whole 1.3 I can see

Re: snmp traps

2022-10-18 Thread Alec
, October 19, 2022 at 02:27:17 p.m. GMT+9, Martijn van Duren wrote: On Wed, 2022-10-19 at 05:13 +, All wrote: > Hi, > Does anyone know where I can find the list of snmp traps that are supported > by OpenBSD? Even though a lot of work has been done lately in snmp land, traps are still o

Re: snmp traps

2022-10-18 Thread Martijn van Duren
On Wed, 2022-10-19 at 05:13 +, Alec wrote: > Hi, > Does anyone know where I can find the list of snmp traps that are supported > by OpenBSD? Even though a lot of work has been done lately in snmp land, traps are still one of the main tickets I need to address. Right now only col

snmp traps

2022-10-18 Thread Alec
Hi, Does anyone know where I can find the list of snmp traps that are supported by OpenBSD?

Re: relayd and snmp agentx

2021-11-06 Thread Joel Carnat
On Sat, Nov 06, 2021 at 09:24:47AM +0100, Martijn van Duren wrote: > On Fri, 2021-11-05 at 15:59 +, Stuart Henderson wrote: > > On 2021-11-05, Joel Carnat wrote: > > > Hello, > > > > > > I read in relayd.conf(5) that there is an SNMP agentx feature.

Re: relayd and snmp agentx

2021-11-06 Thread Martijn van Duren
On Fri, 2021-11-05 at 15:59 +, Stuart Henderson wrote: > On 2021-11-05, Joel Carnat wrote: > > Hello, > > > > I read in relayd.conf(5) that there is an SNMP agentx feature. And > > there is an OPENBSD-RELAYD-MIB.txt file in 7.0 /usr/share/snmp/mibs > > direct

Re: relayd and snmp agentx

2021-11-05 Thread Stuart Henderson
On 2021-11-05, Joel Carnat wrote: > Hello, > > I read in relayd.conf(5) that there is an SNMP agentx feature. And > there is an OPENBSD-RELAYD-MIB.txt file in 7.0 /usr/share/snmp/mibs > directory. > > But in snmpd.conf(5), I couldn't found any reference for subagen

relayd and snmp agentx

2021-11-05 Thread Joel Carnat
Hello, I read in relayd.conf(5) that there is an SNMP agentx feature. And there is an OPENBSD-RELAYD-MIB.txt file in 7.0 /usr/share/snmp/mibs directory. But in snmpd.conf(5), I couldn't found any reference for subagent or agentx. Reading the sources logs, I understood that agentx was re

Re: SNMP reporting on VXLAN interfaces

2018-08-16 Thread Jason Tubnor
On Fri, 17 Aug 2018 at 11:48, David Gwynne wrote: > On Thu, Aug 16, 2018 at 10:51:25AM +1000, Jason Tubnor wrote: > > > > > Am I missing something here or could it be a potential bug in the VXLAN > > code in how it reports into snmpd? > > The vxlan driver counts something that the network stack d

Re: SNMP reporting on VXLAN interfaces

2018-08-16 Thread David Gwynne
On Thu, Aug 16, 2018 at 10:51:25AM +1000, Jason Tubnor wrote: > Hi, > > Not sure if anyone else here is using SNMP for obtaining VXLAN(4) adapter > throughput but after some testing (clamping with PF queues), I have > discovered that throughput on VXLAN interfaces via SNMP are repo

SNMP reporting on VXLAN interfaces

2018-08-15 Thread Jason Tubnor
Hi, Not sure if anyone else here is using SNMP for obtaining VXLAN(4) adapter throughput but after some testing (clamping with PF queues), I have discovered that throughput on VXLAN interfaces via SNMP are reporting exactly double the data throughput than what is measured either through iperf or

Re: VCORE snmp, sysctl hw.sensors

2018-07-23 Thread Philip Guenther
On Mon, Jul 23, 2018 at 3:49 AM Stanley van Dijk wrote: > Could anyone help me out with what I'm looking at? > > This comes from an snmp mib: > > hw.sensors.it0.volt0=1.34 VDC (VCORE_A) > hw.sensors.it0.volt1=1.92 VDC (VCORE_B) > > What is vcore_a and what is vcore

VCORE snmp, sysctl hw.sensors

2018-07-23 Thread Stanley van Dijk
Hi all, Could anyone help me out with what I'm looking at? This comes from an snmp mib: hw.sensors.it0.volt0=1.34 VDC (VCORE_A) hw.sensors.it0.volt1=1.92 VDC (VCORE_B) What is vcore_a and what is vcore_b? BR, Stan

Re: Getting Dell RAID status via SNMP

2017-08-16 Thread Jibby Jeremiah
Subject: Re: Getting Dell RAID status via SNMP > Date: Fri, 28 Jul 2017 15:08:47 -0500 > > >> Here is new/WIP patch to support bio(4) for mfii(4). it doesn't fix the > >> "issue" yet, but it includes hot swap support from my patch for mfi(4) > >> http://mar

Re: Getting Dell RAID status via SNMP

2017-07-30 Thread FUKAUMI Naoki
Hi, From: Andrew Daugherity Subject: Re: Getting Dell RAID status via SNMP Date: Fri, 28 Jul 2017 15:08:47 -0500 >> Here is new/WIP patch to support bio(4) for mfii(4). it doesn't fix the >> "issue" yet, but it includes hot swap support from my patch for mfi(4) >

Re: Getting Dell RAID status via SNMP

2017-07-28 Thread Andrew Daugherity
On Mon, Jul 24, 2017 at 12:10 AM, FUKAUMI Naoki wrote: > Hi, > > From: Jibby Jeremiah > Subject: Re: Getting Dell RAID status via SNMP > Date: Wed, 19 Jul 2017 15:03:21 -0400 > > > Darn. Well if you need more testers let me know. > > It seems your RAID card does

Re: Getting Dell RAID status via SNMP

2017-07-23 Thread FUKAUMI Naoki
Hi, From: Jibby Jeremiah Subject: Re: Getting Dell RAID status via SNMP Date: Wed, 19 Jul 2017 15:03:21 -0400 > Darn. Well if you need more testers let me know. It seems your RAID card doesn't have cache, > mfii0 at pci3 dev 0 function 0 "Symbios Logic MegaRAID SAS3008&

Re: Getting Dell RAID status via SNMP

2017-07-19 Thread Jibby Jeremiah
Darn. Well if you need more testers let me know. ​

Re: Getting Dell RAID status via SNMP

2017-07-18 Thread Johan Huldtgren
On 2017-07-18 19:45, Stuart Henderson wrote: On 2017-07-18, Jibby Jeremiah wrote: ​Stuart H wrote : So for now you would need to run bioctl to fetch status for this. Thanks again Stuart. But I look at the man page and it is not clear to me how to use this: [root@myname ~]# bioctl -q sd0

Re: Getting Dell RAID status via SNMP

2017-07-18 Thread Stuart Henderson
On 2017-07-18, Jibby Jeremiah wrote: > ​Stuart H wrote : >> So for now you would need to run bioctl to fetch status for this. > > Thanks again Stuart. But I look at the man page and it is not clear to me > how to use this: > > [root@myname ~]# bioctl -q sd0 > sd0: , serial 0077a1dc0b3da755200084

Re: Getting Dell RAID status via SNMP

2017-07-18 Thread Jibby Jeremiah
​Stuart H wrote : > So for now you would need to run bioctl to fetch status for this. Thanks again Stuart. But I look at the man page and it is not clear to me how to use this: [root@myname ~]# bioctl -q sd0 sd0: , serial 0077a1dc0b3da755200084e6a0a06d86 [root@myname ~]# bioctl -i sd0 sd0: , se

Re: Getting Dell RAID status via SNMP

2017-07-18 Thread Stuart Henderson
On 2017-07-18, Jibby Jeremiah wrote: > Thanks for the reply Stuart. > > We are running 6.0 and here is dmesg - I x'ed out some info on this second > line - do not think it was important Thanks - so this is using mfii(4), the driver for this doesn't implement sensors yet (it's about the only one t

Re: Getting Dell RAID status via SNMP

2017-07-18 Thread Jibby Jeremiah
Thanks for the reply Stuart. We are running 6.0 and here is dmesg - I x'ed out some info on this second line - do not think it was important OpenBSD 6.0-stable (GENERIC.MP) #1: Mon Feb 13 13:59:48 EST 2017 ​bsduser@-XXX-X-XX:/usr/src/sys/arch/amd64/compile/ GENERIC.MP RTC

Re: Getting Dell RAID status via SNMP

2017-07-18 Thread Stuart Henderson
On 2017-07-17, Jibby Jeremiah wrote: > Hi folks, > > On HP HW we can query the RAID status of a system remotely with snmpwalk on > > .1.3.6.1.4.1.30155.2.1.2.1.5.3 > > And you get back a status of one of the following 3 : > - online > - pfail > - rebuild > > Works great! This provides access to '

Getting Dell RAID status via SNMP

2017-07-17 Thread Jibby Jeremiah
Hi folks, On HP HW we can query the RAID status of a system remotely with snmpwalk on .1.3.6.1.4.1.30155.2.1.2.1.5.3 And you get back a status of one of the following 3 : - online - pfail - rebuild Works great! I cannot find a RAID status on a Dell though. I do a walk of 1.3.6.1.4.1.30155

Re: SNMP OID for free memory

2017-06-06 Thread Stuart Henderson
On 2017-06-06, mabi wrote: > Thanks Stuart for your input. In the pass I used the snmp daemon which comes > with OpenBSD but I vaguely remember that some OID for my cacti graphs was > missing so I switched to Net-SNMP which had this information. Can't remember > though which

Re: SNMP OID for free memory

2017-06-06 Thread mabi
Thanks Stuart for your input. In the pass I used the snmp daemon which comes with OpenBSD but I vaguely remember that some OID for my cacti graphs was missing so I switched to Net-SNMP which had this information. Can't remember though which OID that was and that was already a few years ago

Re: SNMP OID for free memory

2017-06-05 Thread Stuart Henderson
On 2017-06-04, mabi wrote: > Hi, > > I am using OpenBSD 6.1 the the Net-SNMP port in order to monitor the system > resources. I don't seem to find any OID for the free memory and was wondering > if this information is simply not made available in SNMP. Doing an snmpwalk >

SNMP OID for free memory

2017-06-04 Thread mabi
Hi, I am using OpenBSD 6.1 the the Net-SNMP port in order to monitor the system resources. I don't seem to find any OID for the free memory and was wondering if this information is simply not made available in SNMP. Doing an snmpwalk on the HOST-RESOURCES MIB for memory shows the foll

Re: Monitoring relayd via SNMP

2017-03-13 Thread Mik J
llo, Thanks for the idea, but how are you triggering a script on polling ? BTW, I think that if snmp is not available I will stick to check_relayd wth NRPE. Cf. http://undeadly.org/cgi?action=article&sid=20110220204953 -- Cordialement, Pierre BARDOU De : Mik J [mailto:mikyde...@yahoo.fr] E

Re: Monitoring relayd via SNMP

2017-03-13 Thread BARDOU Pierre
Hello, Thanks for the idea, but how are you triggering a script on polling ? BTW, I think that if snmp is not available I will stick to check_relayd wth NRPE. Cf. http://undeadly.org/cgi?action=article&sid=20110220204953 -- Cordialement, Pierre BARDOU De : Mik J [mailto:mikyde...@yaho

Re: Monitoring relayd via SNMP

2017-03-11 Thread Mik J
Hello Pierre,I don't use relayd but for some of my needs with snmp, I retrieve the statistics through a script that is executed everytime I poll a specific OID.It might be dirty, but does the job.Regards Le Mardi 7 mars 2017 16h08, BARDOU Pierre a écrit : I found nothing to impl

Re: Monitoring relayd via SNMP

2017-03-07 Thread BARDOU Pierre
Objet : Monitoring relayd via SNMP Hello, I am trying to monitor relayd through snmpd(8). It seems that a MIB exists : http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share/snmp/OPENBSD-RELAYD-MIB.tx t?rev=1.3&content-type=text/x-cvsweb-markup But SNMPwalking these OIDs doesn't work. sn

Monitoring relayd via SNMP

2017-03-06 Thread BARDOU Pierre
Hello, I am trying to monitor relayd through snmpd(8). It seems that a MIB exists : http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share/snmp/OPENBSD-RELAYD-MIB.tx t?rev=1.3&content-type=text/x-cvsweb-markup But SNMPwalking these OIDs doesn't work. snmpctl show mib doesn't show t

unsupported SNMP trap version '3'

2016-07-11 Thread Jiri B
Hi, does snmpd support v3 SNMP traps? As I was trying to get ASAP a v3 trap receiver and I got: # snmpd -d snmpe_bind: binding to address 10.34.130.229:161 startup unsupported SNMP trap version '3' I used this from a RHEL 7: snmptrap -e 0x0102030405 -v 3 -u user1 -a SHA -A pass

Re: Again SNMP: No UCD-SNMP-MIB found

2016-02-27 Thread Stuart Henderson
On 2016-02-26, Alex Naumov wrote: > Hello, > > just want to ask why our snmpd(8) doesn't understand MIBs from UCD-SNMP-MIB. > Is there some workaround? > > I need information about CPU and Memory usage... > > > OpenBSD 5.6 GENERIC#274 i386 > net-snmp-5.7.2.1

Again SNMP: No UCD-SNMP-MIB found

2016-02-26 Thread Alex Naumov
Hello, just want to ask why our snmpd(8) doesn't understand MIBs from UCD-SNMP-MIB. Is there some workaround? I need information about CPU and Memory usage... OpenBSD 5.6 GENERIC#274 i386 net-snmp-5.7.2.1p2 Thank you, Alex

Re: OpenBGPd SNMP

2015-10-06 Thread Bret Lambert
On Mon, Oct 05, 2015 at 10:34:01AM +, Stuart Henderson wrote: > On 2015-10-04, Mike Hammett wrote: > > Are there any packages out there that expose OpenBGPd or other OpenBSD > > parameters via SNMP? Would like to check generic health of the system, > > number of ro

Re: OpenBGPd SNMP

2015-10-05 Thread Stuart Henderson
On 2015-10-04, Mike Hammett wrote: > Are there any packages out there that expose OpenBGPd or other OpenBSD > parameters via SNMP? Would like to check generic health of the system, > number of routes, number of peers, number of routes per peer, etc. System sensors ("sysctl hw

Re: OpenBGPd SNMP

2015-10-04 Thread Raf Czlonka
On Sun, Oct 04, 2015 at 09:59:24PM BST, Mike Hammett wrote: > Are there any packages out there that expose OpenBGPd or other OpenBSD > parameters via SNMP? Would like to check generic health of the system, > number of routes, number of peers, number of routes per peer, etc. ls /usr/s

OpenBGPd SNMP

2015-10-04 Thread Mike Hammett
Are there any packages out there that expose OpenBGPd or other OpenBSD parameters via SNMP? Would like to check generic health of the system, number of routes, number of peers, number of routes per peer, etc. - Mike Hammett Intelligent Computing Solutions http://www.ics-il.com

Re: SNMP on 5.7/5.8

2015-08-09 Thread Bret Lambert
debug shortly. > > > >-Steve S. > > > >>-Original Message- > >>From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of > >>Stuart Henderson > >>Sent: Wednesday, August 5, 2015 5:58 AM > >>To: misc@openbsd.org > &g

Re: SNMP on 5.7/5.8

2015-08-08 Thread Kapetanakis Giannis
he debug shortly. -Steve S. -Original Message- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of Stuart Henderson Sent: Wednesday, August 5, 2015 5:58 AM To: misc@openbsd.org Subject: Re: SNMP on 5.7/5.8 On 2015-08-04, Steven Surdock wrote: The broken SNMP on i38

Re: SNMP on 5.7/5.8

2015-08-05 Thread Stuart Henderson
odebase sharing nothing in common with Net-SNMP, if there's a problem there as well then relevant bits of "snmpd -dv" would be nice (bugs@ is probably the best place for that).

Re: SNMP on 5.7/5.8

2015-08-05 Thread Steven Surdock
] On Behalf Of > Stuart Henderson > Sent: Wednesday, August 5, 2015 5:58 AM > To: misc@openbsd.org > Subject: Re: SNMP on 5.7/5.8 > > On 2015-08-04, Steven Surdock wrote: > > The broken SNMP on i386/5.7 is preventing me from upgrading. I tried > i386/5.8 but I'm s

Re: SNMP on 5.7/5.8

2015-08-05 Thread Stuart Henderson
On 2015-08-04, Steven Surdock wrote: > The broken SNMP on i386/5.7 is preventing me from upgrading. I tried > i386/5.8 but I'm still seeing net-snmpd crash with the following error. > >NET-SNMP version 5.7.3 >Error expanding HCInReceives to 64bits in ipSystemStatsT

Re: snmp HC on i386

2015-08-05 Thread David Gladys
Steven Surdock engineered-net.com> writes: > > Just noticed that I'm having the same issue on 5.7/i386 > > NET-SNMP version 5.7.3 > Error expanding HCInReceives to 64bits in ipSystemStatsTable.ipv4 > Error expanding HCInDelivers to 64bits in ipSystemStatsTa

SNMP on 5.7/5.8

2015-08-04 Thread Steven Surdock
The broken SNMP on i386/5.7 is preventing me from upgrading. I tried i386/5.8 but I'm still seeing net-snmpd crash with the following error. NET-SNMP version 5.7.3 Error expanding HCInReceives to 64bits in ipSystemStatsTable.ipv4 Error expanding HCInDelivers to 64bi

Re: snmp HC on i386

2015-05-14 Thread Steven Surdock
Just noticed that I'm having the same issue on 5.7/i386 NET-SNMP version 5.7.3 Error expanding HCInReceives to 64bits in ipSystemStatsTable.ipv4 Error expanding HCInDelivers to 64bits in ipSystemStatsTable.ipv4 Error expanding HCOutRequests to 64bits in ipSystemStatsTable.ipv4 -Steve S.

snmp HC on i386

2015-05-12 Thread Kapetanakis Giannis
Hi, Does anybody have problems with snmp high counters on i386 platforms? snmpd crashes after a while. Error expanding HCInReceives to 64bits in ipSystemStatsTable.ipv4 Error expanding HCInDelivers to 64bits in ipSystemStatsTable.ipv4 Error expanding HCOutRequests to 64bits in

Re: missing snmp OID's

2015-04-24 Thread Stuart Henderson
ntext 1 request 1293928297 snmpe_parsevarbinds: 10.15.5.2: oid iso.org.dod.internet.private.enterprises.openBSD.pfMIBObjects.pfTables.pfTblAddrTable.pfTblAddrEntry.pfTblAddrTblIndex.3.XXX.XX.187.0.24 snmpe_parsevarbinds: 10.15.5.2: invalid varbind element, error index 1 > I.e. Run snmpd on 127.0.0.1:161, and run net-snmp on the interface I

Re: missing snmp OID's

2015-04-24 Thread Andy Lemin
. "If no OID argument > is present, snmpwalk will search the subtree rooted at SNMPv2-SMI::mib-2 > (including any MIB object values from other MIB modules, that are > defined as lying within this subtree)." > > The following examples assume that you have the OpenBSD MIBs

Re: missing snmp OID's

2015-04-23 Thread Stuart Henderson
following examples assume that you have the OpenBSD MIBs loaded (these are setup by default in the net-snmp package, but you'll need to add them yourself if querying from another OS). $ snmpwalk -v2c -c public localhost SNMPv2-MIB::sysORID SNMPv2-MIB::sysORID.1 = OID: SNMPv2-SMI::mib-2 SNMPv2-MIB::

missing snmp OID's

2015-04-23 Thread andy
Hi, This should be a simple one ;) I have configured and started snmpd, and then used snmpwalk ("snmpwalk -v2c -c public 127.0.0.1:161 .") to walk the oid tree, and the only branch I see is OPENBSD-PF-MIB. Tested on 5.6. I don't seem to see any output for OPENBSD-BASE-MIB.txt, OPENBSD-CARP-MIB.t

Re: SNMP and PID file

2015-03-27 Thread Stuart Henderson
On 2015/03/27 12:00, Alex Naumov wrote: > On Fri, Mar 27, 2015 at 9:51 AM, Stuart Henderson > wrote: > > On 2015-03-26, Alex Naumov wrote: > >> # /etc/rc.d/snmpd restart > >> httpd2 (pid 29518) already running > > > > Weird. What are the contents of /etc/rc.d/snmpd? > > > > #!/bin/sh > # > # $O

Re: SNMP and PID file

2015-03-27 Thread Alex Naumov
On Fri, Mar 27, 2015 at 9:51 AM, Stuart Henderson wrote: > On 2015-03-26, Alex Naumov wrote: >> # /etc/rc.d/snmpd restart >> httpd2 (pid 29518) already running > > Weird. What are the contents of /etc/rc.d/snmpd? > #!/bin/sh # # $OpenBSD: snmpd,v 1.1 2011/07/06 18:55:36 robert Exp $ daemon="/us

Re: SNMP and PID file

2015-03-27 Thread Stuart Henderson
On 2015-03-26, Alex Naumov wrote: > # /etc/rc.d/snmpd restart > httpd2 (pid 29518) already running Weird. What are the contents of /etc/rc.d/snmpd?

Re: SNMP and PID file

2015-03-26 Thread Alex Naumov
86 >> >> # ps aux | grep snmpd >> root 23284 0.0 0.1 556 980 ?? IsWed04PM0:00.00 >> snmpd: parent (snmpd) >> _snmpd 28300 0.0 0.1 676 1380 ?? I Wed04PM0:00.55 >> snmpd: snmp engine (snmpd) >> root 23789 0.0 0.0 592

Re: SNMP and PID file

2015-03-26 Thread Joshua Smith
D name 5.2 GENERIC#278 i386 > > # ps aux | grep snmpd > root 23284 0.0 0.1 556 980 ?? IsWed04PM0:00.00 > snmpd: parent (snmpd) > _snmpd 28300 0.0 0.1 676 1380 ?? I Wed04PM0:00.55 > snmpd: snmp engine (snmpd) > root 23789 0.0 0.0 592

Re: SNMP and PID file

2015-03-26 Thread Alex Naumov
# /etc/rc.d/snmpd restart httpd2 (pid 29518) already running # uname -a OpenBSD name 5.2 GENERIC#278 i386 # ps aux | grep snmpd root 23284 0.0 0.1 556 980 ?? IsWed04PM0:00.00 snmpd: parent (snmpd) _snmpd 28300 0.0 0.1 676 1380 ?? I Wed04PM0:00.55 snmpd: snmp

Re: SNMP and PID file

2015-03-25 Thread Kevin Chadwick
On Wed, 25 Mar 2015 18:02:30 +0100 Alex Naumov wrote: > I just want to ask about snmpd(8). As I can see, snmpd don't create > pid file in /var/run directory. > Is it correct? > How to reboot this daemon? There is just sock-file. It is more reliable to look up the PID from the list of processes wh

Re: SNMP and PID file

2015-03-25 Thread Joshua Smith
/etc/rc.d/snmpd restart always worked for me to restart snmpd. On Wed, Mar 25, 2015 at 06:02:30PM +0100, Alex Naumov wrote: > Hello, > > I just want to ask about snmpd(8). As I can see, snmpd don't create > pid file in /var/run directory. > Is it correct? > How to reboot this daemon? There is jus

SNMP and PID file

2015-03-25 Thread Alex Naumov
Hello, I just want to ask about snmpd(8). As I can see, snmpd don't create pid file in /var/run directory. Is it correct? How to reboot this daemon? There is just sock-file. Thank you, Alex

Re: net-snmp in 4.9 : does it work for you ?

2011-06-22 Thread Patrick Lamaiziere
Le Wed, 22 Jun 2011 09:23:01 +0200, Patrick Lamaiziere a C)crit : > Hello, > > I've updated my two pf firewalls today from 4.8 to 4.9 (worked fine, > nice). But it looks there is a problem with net-snmp and the > traffic reported (IF-MIB). This is not correct anymore (like

net-snmp in 4.9 : does it work for you ?

2011-06-22 Thread Patrick Lamaiziere
Hello, I've updated my two pf firewalls today from 4.8 to 4.9 (worked fine, nice). But it looks there is a problem with net-snmp and the traffic reported (IF-MIB). This is not correct anymore (like 30 Mbits/s instead more than 150 Mbits/s). I've checked the interfaces indexes in the s

Re: Question about VLAN interfaces and SNMP Stats

2010-07-02 Thread Henning Brauer
* rh...@hushmail.com [2010-06-30 13:28]: > When pulling stats off a VLAN interface, do the in/out figures > reflect the traffic values flowing to/from the attached subnet they represent the packets/bytes going through that specific interface, of course. -- Henning Brauer, h...@bsws.de, henn...

Question about VLAN interfaces and SNMP Stats

2010-06-30 Thread rhsv6
Hi, Probably a very silly question, but I just need to confirm my understanding. When pulling stats off a VLAN interface, do the in/out figures reflect the traffic values flowing to/from the attached subnet (my understanding), or do they also include traffic figures flowing to/from other inte

Re: OpenBSD 4.4 : snmp for monitoring interfaces

2010-06-18 Thread Martin Pelikán
2010/6/18, Rioux, Christophe : > Hi > > We tried to implemant a monitoring on a OpenBSD 4.4; I get an error message: > index not found (monitoring via Cacti, means net-snmp). My Cacti server is > hosted on another server. So do we, our cacti is 0.8.7e, from some redhat repository

Re: OpenBSD 4.4 : snmp for monitoring interfaces

2010-06-18 Thread Rioux, Christophe
ed while they were maintained; these releases are likely to be affected by the advisories for more recent releases. On Fri, Jun 18, 2010 at 4:31 PM, Rioux, Christophe wrote: > Hi > > We tried to implemant a monitoring on a OpenBSD 4.4; I get an error message: > index not found (monito

Re: OpenBSD 4.4 : snmp for monitoring interfaces

2010-06-18 Thread Tomas Bodzar
t 4:31 PM, Rioux, Christophe wrote: > Hi > > We tried to implemant a monitoring on a OpenBSD 4.4; I get an error message: > index not found (monitoring via Cacti, means net-snmp). My Cacti server is > hosted on another server. > > I check the OID per snmp: .1.3.6.1.2.1.2.2.

OpenBSD 4.4 : snmp for monitoring interfaces

2010-06-18 Thread Rioux, Christophe
Hi We tried to implemant a monitoring on a OpenBSD 4.4; I get an error message: index not found (monitoring via Cacti, means net-snmp). My Cacti server is hosted on another server. I check the OID per snmp: .1.3.6.1.2.1.2.2.1.1 (this OID search the interface, and go down to the values) * In the

Re: pf statistics via SNMP MIBs on 4.6 (or 4.7)

2010-04-20 Thread Helmut Schneider
silvershadow...@gmx.de wrote: > the most recent MIBs for OpenBSD is for 4.4 (OpenBSD 4.4: > obsd-mibs44.tar), which can be downloaded from well-known > > http://www.packetmischief.ca/openbsd/snmp/ > > However, I seem to have problems getting it running on a OpenBSD 4.6 &g

pf statistics via SNMP MIBs on 4.6 (or 4.7)

2010-04-20 Thread silvershadow123
Hi list, the most recent MIBs for OpenBSD is for 4.4 (OpenBSD 4.4: obsd-mibs44.tar), which can be downloaded from well-known http://www.packetmischief.ca/openbsd/snmp/ However, I seem to have problems getting it running on a OpenBSD 4.6 based relayd setup (dmesg below). It builds okay from

Re: mismatch output net-snmp -current

2010-03-15 Thread Cameron Simpson
On 17Apr2009 07:48, uno83 wrote: | Agung T. Apriyanto-2 wrote: | > i found mismatch output from snmpwalk in -current net-snmp, sample bellow | > | > r...@cadangan[patches]# snmpwalk -v 1 -c public localhost | > .1.3.6.1.2.1.4.20.1.2 | > IP-MIB::ipAdEntIfIndex.10.100.0.1 = INTEGE

net-snmp 64bit interface counters

2010-01-13 Thread Johan Karlsson
Hi, Is there any way to get 64bit interface counters in net-snmp to work with OpenBSD (preferably via ports)? >From the official net-snmp 5.4* changelog: --- Solaris, FreeBSD, OpenBSD: - Experimental support for 64bit interface counters (ifXTable). Enable via '--with-mib

Re: Net-SNMP in 4.5

2009-11-23 Thread Donald Reichert
> > I know, 4.6 has been out for a while now... However, I run 4.5 > (i386) on a pair of very heavily used load balancers (relayd), and > due to some customer requirements I would need some statistics > (traffic, etc). > > > > I thought of using Net-SNMP, but a guy in IR

Re: Net-SNMP in 4.5

2009-11-23 Thread Marcos Laufer
some customer requirements I would need some statistics (traffic, etc). I thought of using Net-SNMP, but a guy in IRC told me that in OpenBSD 4.5 it is broken? I search on the mailing lists, but didn't find mails regarding to this. However, does anybody know if there's a problem on 4.5? I

Re: Net-SNMP in 4.5

2009-11-23 Thread Stuart Henderson
On 2009-11-23, Donald Reichert wrote: > Hello list, > > I know, 4.6 has been out for a while now... However, I run 4.5 (i386) on a pair of very heavily used load balancers (relayd), and due to some customer requirements I would need some statistics (traffic, etc). > > I thought of

Re: Net-SNMP in 4.5

2009-11-23 Thread Georg Kahest
Hello! I have net-snmp from ports with mischiefs openbsd mib patch, compiled and working. Georg On Mon, 2009-11-23 at 14:37 +0200, Donald Reichert wrote: > Hello list, > > I know, 4.6 has been out for a while now... However, I run 4.5 (i386) on a > pair of very heavily used lo

Net-SNMP in 4.5

2009-11-23 Thread Donald Reichert
Hello list, I know, 4.6 has been out for a while now... However, I run 4.5 (i386) on a pair of very heavily used load balancers (relayd), and due to some customer requirements I would need some statistics (traffic, etc). I thought of using Net-SNMP, but a guy in IRC told me that in OpenBSD 4.5

Re: mismatch output net-snmp -current

2009-04-17 Thread uno83
Agung T. Apriyanto-2 wrote: > > i found mismatch output from snmpwalk in -current net-snmp, sample bellow > > r...@cadangan[patches]# snmpwalk -v 1 -c public localhost > .1.3.6.1.2.1.4.20.1.2 > IP-MIB::ipAdEntIfIndex.10.100.0.1 = INTEGER: 1 > IP-MIB::ipAdEntIfIndex.10.100.6

Re: SNMP

2009-03-13 Thread Brian McCann
> If you're just after interface counters, I would recommend using > snmpd in the base OS instead, net-snmp is rather fragile. > > I was hoping on using net-snmp so I could extended it a bit, but interface counters is the most important thing right now. Perhaps when net-snmp g

mismatch output net-snmp -current

2009-03-11 Thread Agung T. Apriyanto
i found mismatch output from snmpwalk in -current net-snmp, sample bellow r...@cadangan[patches]# snmpwalk -v 1 -c public localhost .1.3.6.1.2.1.4.20.1.2 IP-MIB::ipAdEntIfIndex.10.100.0.1 = INTEGER: 1 IP-MIB::ipAdEntIfIndex.10.100.66.1 = INTEGER: 5 IP-MIB::ipAdEntIfIndex.10.100.67.1 = INTEGER: 6

Re: SNMP

2009-03-10 Thread Stuart Henderson
On 2009-03-10, Brian McCann wrote: > I feel stupid for not being able to figure this out, but I'm hoping > someone can point out why this doesn't work. I'm trying to get > net-snmp working on my OpenBSD 4.4 box, and for some reason, it's > giving me very little in

SNMP

2009-03-10 Thread Brian McCann
I feel stupid for not being able to figure this out, but I'm hoping someone can point out why this doesn't work. I'm trying to get net-snmp working on my OpenBSD 4.4 box, and for some reason, it's giving me very little in terms of counters. I'm looking for Ethernet inter

Re: SNMP

2009-03-10 Thread Steven Surdock
sd.org [mailto:owner-m...@openbsd.org] On Behalf Of > Brian McCann > Sent: Tuesday, March 10, 2009 1:35 PM > To: misc@openbsd.org > Subject: SNMP > > I feel stupid for not being able to figure this out, but I'm hoping > someone can point out why this doesn't work. I

Re: extend snmp mibs?

2008-12-05 Thread Alexander Sabourenkov
Reyk Floeter wrote: Hi, the tool is requesting the UCD-SNMP-MIB which is a non-standard extension of ucd/net-snmp. I'm not convinced to implement any of the non-standard UCD mibs. Most of the useful values can be exported by the standards-based HOST-RESOURCES-MIB and I already start

Re: extend snmp mibs?

2008-12-03 Thread Reyk Floeter
Hi, the tool is requesting the UCD-SNMP-MIB which is a non-standard extension of ucd/net-snmp. I'm not convinced to implement any of the non-standard UCD mibs. Most of the useful values can be exported by the standards-based HOST-RESOURCES-MIB and I already started on extendin

Re: extend snmp mibs?

2008-12-03 Thread Alexander Sabourenkov
Ricardo Augusto de Souza wrote: Hi, I am trying to configure snmpd in a openbsd 4.3 . It4s running and i am able to collect some info from openbsd. I am using zenoss ( www.zenoss.com ) to monitor all my enviroment. zenoss can only show IpInterface. At windows servers i had to install snmp

  1   2   >