Re: snmpd and route changes

2024-02-23 Thread Stuart Henderson
xternal interface, and gets routes to internal subnets by means of > OSPF with Juniper switch over internal interface. > > Host on one of internal subnets queries snmpd listening on internal > interface of OpenBSD firewall. When OSPF on OpenBSD firewall is > up, requests arrive on in

snmpd and route changes

2024-02-23 Thread Marko Cupać
Hi, my OpenBSD firewall has static default route to the Internet over external interface, and gets routes to internal subnets by means of OSPF with Juniper switch over internal interface. Host on one of internal subnets queries snmpd listening on internal interface of OpenBSD firewall. When OSPF

snmpd/agentx compatibility issue

2024-02-11 Thread Steffen Christgau
Hi, I use snmpd on OpenBSD 7.4 and try to get it work with PyAgentX3 [1] in order to provide additional data to the SNMP daemon. To test it, I use the minimal agent as provided in the PyAgentX3 readme (with the "print" function adjusted to Python 3). The respective config line

Re: snmpd dies

2024-01-07 Thread Nicolas Goy
On 07.01.24 09:37, Martijn van Duren wrote: On Sat, 2024-01-06 at 16:12 +0100, Nicolas Goy wrote: Unfortunately this isn't enough to give me a hint where the issue might be... Let's keep an eye out and hope that we can gather some more context next time, or that I can find something during norma

Re: snmpd dies

2024-01-07 Thread Martijn van Duren
Can you reproduce it (somewhat) > > reliably? Can you run snmpd with -vv to log the request(s) that > > trigger it. If that's not sufficient context we might need to compile > > either snmpd and/or libagentx with AX_DEBUG and AX_DEBUG_VERBOSE defined > > and run it

Re: snmpd dies

2024-01-05 Thread Martijn van Duren
On Fri, 2024-01-05 at 13:09 +0100, Nicolas Goy wrote: > Hello, > > I am on OpenBSD 7.4 amd64 and today snmpd died with the following error > message: > > snmpd[44109]: AgentX(1207475061): Protocol > error<27>snmpd_metrics[52600]: [fd:0 sess:3150713266 ctx:]: >

snmpd dies

2024-01-05 Thread Nicolas Goy
Hello, I am on OpenBSD 7.4 amd64 and today snmpd died with the following error message: snmpd[44109]: AgentX(1207475061): Protocol error<27>snmpd_metrics[52600]: [fd:0 sess:3150713266 ctx:]: unsupported call: agentx-Close-PDU snmpd[44109]: AgentX(1207475061/3150713266): Closed by

After upgrade to 7.2 snmpd fails

2023-01-21 Thread Mike Fischer
I have just upgraded a VM from OpenBSD 7.1 to 7.2. Looks good so far except for snmpd which suddenly fails shortly after starting up: >From /var/log/daemon: Jan 21 22:59:56 wo snmpd[86168]: legacy backend: Registering 1.3.6.1.6.3.15.1.1.6.0(instance) context() priority(1) timeout(1.50s) Jan

Re: After upgrade to 7.2 snmpd fails

2023-01-21 Thread Mike Fischer
; sshguard-2.4.2 protect against brute force attacks on sshd and others > symon-2.88p6active host monitoring tool > tiff-4.4.0p2tools and library routines for working with TIFF images > unzip-6.0p16extract, list & test files in a ZIP archive > vnstat-2.6v

Re: After upgrade to 7.2 snmpd fails

2023-01-21 Thread Mike Fischer
m) zstd-1.5.2 zstandard fast real-time compression algorithm # Thanks! Mike > Am 21.01.2023 um 23:21 schrieb Mike Fischer : > > I have just upgraded a VM from OpenBSD 7.1 to 7.2. > > Looks good so far except for snmpd which suddenly fails shortly after > starting

Re: Strange snmpd issue with 6.7

2020-11-12 Thread Winfred Harrelson
On Thu, Nov 12, 2020 at 09:51:46AM -, Stuart Henderson wrote: > On 2020-11-09, Winfred Harrelson wrote: > > On Sat, Nov 07, 2020 at 01:53:00PM -, Stuart Henderson wrote: > >> On 2020-11-06, Winfred Harrelson wrote: > >> > I am running OpenBSD 6.7 and am hav

Re: Strange snmpd issue with 6.7

2020-11-12 Thread Stuart Henderson
On 2020-11-09, Winfred Harrelson wrote: > On Sat, Nov 07, 2020 at 01:53:00PM -, Stuart Henderson wrote: >> On 2020-11-06, Winfred Harrelson wrote: >> > I am running OpenBSD 6.7 and am having a strange issue with snmpd(8). >> > >> > The issue is that it

Re: Strange snmpd issue with 6.7

2020-11-09 Thread Winfred Harrelson
On Sat, Nov 07, 2020 at 01:53:00PM -, Stuart Henderson wrote: > On 2020-11-06, Winfred Harrelson wrote: > > I am running OpenBSD 6.7 and am having a strange issue with snmpd(8). > > > > The issue is that it doesn't have all the arp entries but this was > &g

Re: Strange snmpd issue with 6.7

2020-11-07 Thread Stuart Henderson
On 2020-11-06, Winfred Harrelson wrote: > I am running OpenBSD 6.7 and am having a strange issue with snmpd(8). > > The issue is that it doesn't have all the arp entries but this was > working before. I don't know exactly when this started happening > but I just notic

Strange snmpd issue with 6.7

2020-11-06 Thread Winfred Harrelson
I am running OpenBSD 6.7 and am having a strange issue with snmpd(8). The issue is that it doesn't have all the arp entries but this was working before. I don't know exactly when this started happening but I just noticed today. Here is the machine in question and what I get: whar

Disable snmpd 'private' community

2020-05-01 Thread Steven Surdock
I see that snmpd.conf supports "read-write disabled", but this doesn't seem to _completely_ disable the private community. If I set "read-write disabled" I can still poll values using the 'private' community. Is this a bug or a feature? -Steve S.

Re: snmpd(8) custom OID names

2019-11-28 Thread Martijn van Duren
On 11/27/19 4:27 PM, Joel Carnat wrote: > Hello, > > I have set custom OIDs in my snmpd.conf(5). > When I walk or get those values, using snmp(1) or snmpget(1), the > "name" parameters is not listed. I only get values described as > OPENBSD-BASE-MIB::localTest.* > > Is there a straight way to get

snmpd(8) custom OID names

2019-11-27 Thread Joel Carnat
Hello, I have set custom OIDs in my snmpd.conf(5). When I walk or get those values, using snmp(1) or snmpget(1), the "name" parameters is not listed. I only get values described as OPENBSD-BASE-MIB::localTest.* Is there a straight way to get the configured names from snmp clients? Or do I have to

Re: Get status about ipsec throught snmpd.

2018-08-28 Thread Stuart Henderson
On 2018-08-28, Stanislav Yarakaeff wrote: > Hi! > We are testing OpenBSD v6 for emmbedded devices and would like get status > about IPsec from snmpd. In the OPENBSD-BASE-MIB.txt file, I saw the line > "- ipsecMIBObjects OBJECT IDENTIFIER :: = {openBSD 4}". > How is it

Get status about ipsec throught snmpd.

2018-08-28 Thread Stanislav Yarakaeff
Hi! We are testing OpenBSD v6 for emmbedded devices and would like get status about IPsec from snmpd. In the OPENBSD-BASE-MIB.txt file, I saw the line "- ipsecMIBObjects OBJECT IDENTIFIER :: = {openBSD 4}". How is it possible to determine the status (OID) for snmpd? Thank you!

Inconsistent stats between snmpd(8) and pfctl(8) ?

2018-05-25 Thread Joel Carnat
Hi, On OpenBSD 6.3/amd64, I'm using snmpd(8) to gather pf(4) statistics. It seems that some stats are not coherent. For example, on egress and vio0 interfaces. Asking snmpd(8), I get : OPENBSD-PF-MIB::pfIfDescr.3 = STRING: "egress" OPENBSD-PF-MIB::pfIfDescr.12 = STRING: "

Re: net-snmpd extend and doas : a tty is required

2018-04-13 Thread Martijn van Duren
On 04/12/18 23:13, Joel Carnat wrote: >> Le 12 avr. 2018 à 21:10, Stuart Henderson a écrit : >> >> On 2018-04-12, Joel Carnat mailto:j...@carnat.net>> wrote: >>> Hi, >>> >>> I want net-snmpd to run a script via the extend directive. >>>

Re: net-snmpd extend and doas : a tty is required

2018-04-12 Thread Joel Carnat
> Le 12 avr. 2018 à 21:10, Stuart Henderson a écrit : > > On 2018-04-12, Joel Carnat mailto:j...@carnat.net>> wrote: >> Hi, >> >> I want net-snmpd to run a script via the extend directive. >> This script has to run a command using doas to get temporary ro

Re: net-snmpd extend and doas : a tty is required

2018-04-12 Thread Stuart Henderson
On 2018-04-12, Joel Carnat wrote: > Hi, > > I want net-snmpd to run a script via the extend directive. > This script has to run a command using doas to get temporary root > permission. > > The script is run on snmpcmd call but the doas command returns: > doas: a tty is

Re: net-snmpd extend and doas : a tty is required

2018-04-12 Thread Ted Unangst
Joel Carnat wrote: > Hi, > > I want net-snmpd to run a script via the extend directive. > This script has to run a command using doas to get temporary root > permission. > > The script is run on snmpcmd call but the doas command returns: > doas: a tty is required > &

net-snmpd extend and doas : a tty is required

2018-04-12 Thread Joel Carnat
Hi, I want net-snmpd to run a script via the extend directive. This script has to run a command using doas to get temporary root permission. The script is run on snmpcmd call but the doas command returns: doas: a tty is required Is there a way to run doas from net-snmpd ? I already have doas

Re: snmpd high memory page fault / cpu usage and high latency / it seems a memory problem

2017-12-01 Thread Stuart Henderson
On 2017-12-01, Thomas Boernert wrote: > Hi, > > an update: > > it seems thats a memory pool problem. > > on the same machine its running bgpd with 2 uplinks. How much memory does snmpd use? (You could run it with e.g. "/usr/bin/time -l /usr/sbin/snmpd -vd") "filter-routes yes" is likely to help.

Re: snmpd high memory page fault / cpu usage and high latency / it seems a memory problem

2017-12-01 Thread Thomas Boernert
Hi, an update: it seems thats a memory pool problem. on the same machine its running bgpd with 2 uplinks. if i stop on the backup machine the bgpd and then start the snmpd, than i have only ~ 4000 page faults. i have 8 GB memory, my ulimit: time(cpu-seconds)unlimited file(blocks

snmpd high memory page fault / cpu usage and high latency

2017-11-29 Thread Thomas Boernert
Hi List, i've a default snmpd.conf. When i starting snmpd then the page fault jumps to 38000: procsmemory pagediskstraps cpu r b wavm fre flt re pi po fr sr sd0 sd1 int sys cs us sy id 1 1 0 575124 60937927 0 0

Re: snmpd broken ?

2016-09-24 Thread Philip Guenther
On Mon, 19 Sep 2016, Luiz Gustavo dos S. Costa wrote: > I have an OpenBSD 6.0 Installation and am having trouble with snmpd, it > just dies after a time, see example below: > > # time snmpd -dv > snmpe_bind: binding to address X.X.X.X:161 > startup > traphandler exiting, pid

Re: SNMPD Source Address Issues

2016-09-23 Thread Stuart Henderson
On 2016-09-23, a...@brandwatch.com wrote: >>> We tried setting "listen on $IP_Lo1" etc, and this seemed to work, but it >>> is unstable. That is, occasionally packets start being sourced from the >>> egress interface again when something changes until snmpd i

Re: SNMPD Source Address Issues

2016-09-23 Thread andy
Sent from a teeny tiny keyboard, so please excuse typos > On 23 Sep 2016, at 20:24, Jeremie Courreges-Anglas wrote: > > Andy Lemin writes: > >> Hi, >> >> TLDR; Is there a way of fixing the "source address" that SNMPD should use? >> >> >&

Re: SNMPD Source Address Issues

2016-09-23 Thread Jeremie Courreges-Anglas
Andy Lemin writes: > Hi, > > TLDR; Is there a way of fixing the "source address" that SNMPD should use? > > > We are having issues with reply snmpd packets sourcing from the egress > interface and not the loopback interface which the poll request was sent to > :

SNMPD Source Address Issues

2016-09-21 Thread Andy Lemin
Hi, TLDR; Is there a way of fixing the "source address" that SNMPD should use? We are having issues with reply snmpd packets sourcing from the egress interface and not the loopback interface which the poll request was sent to :( We have many GRE tunnels and various routes which t

snmpd broken ?

2016-09-19 Thread Luiz Gustavo dos S. Costa
Hi guys, I have an OpenBSD 6.0 Installation and am having trouble with snmpd, it just dies after a time, see example below: # time snmpd -dv snmpe_bind: binding to address X.X.X.X:161 startup traphandler exiting, pid 85031 1m06.67s real 0m00.01s user 0m00.00s system Anyone else with

Possible SNMPD Bug - IF-MIB::ifInDiscards (and maybe ifOutDiscards) report the same value for every single interface :(

2016-05-27 Thread Andy Lemin
Hi list :) We have noticed our monitoring systems are reporting and alerting the wrong data for OpenBSD Interface Discards since adding all the OpenBSD firewalls to our new Monitoring system. And we have proven that it is SNMPD which is returning the same value for every single interface with

Re: Bulkget & snmpd

2015-10-07 Thread Stuart Henderson
On 2015-10-07, Denis Fondras wrote: > I'm using snmpd from base on 5.8 and while playing with snmpbulkget (from > net-snmp), I noticed a weirdness. Note, I've replied on tech@.

Bulkget & snmpd

2015-10-07 Thread Denis Fondras
Hello, I'm using snmpd from base on 5.8 and while playing with snmpbulkget (from net-snmp), I noticed a weirdness. * 'snmpbulkget -v2c -c public 10.100.200.19 iso.3.6.1.2.1.1' is ok * 'snmpbulkget -v2c -c public 10.100.200.19 iso.3.6.1.2.1.31.1.1' is ok By "ok&q

snmpd seclevel auth

2014-10-04 Thread Predrag Punosevac
First of all I would like just to thank developers of OpenBSD for a great Simple Network Management Protocol daemon and its integration with OpenBSD built in sensors framework. With minimal required editing of /etc/snmpd.conf. I was easily able to pool more info from my OpenBSD servers from Observ

Re: Snmpd question

2014-02-13 Thread Stuart Henderson
that script modify >> the OID values so that a remote SNMP server can monitor the changes using >> SNMP gets and mgets. I do not want to use SNMP traps. >> >> Thanks for any feedback! >> > > > No. > > You would have to restart snmpd, there is no

Re: Snmpd question

2014-02-13 Thread Patrick Lamaiziere
D values so that a remote SNMP server can monitor the > changes using SNMP gets and mgets. I do not want to use SNMP traps. > > Thanks for any feedback! I don't know if snmpd can do this, I use net-snmpd (in ports) to pass user OID values. Regards,

Re: Snmpd question

2014-02-12 Thread Reyk Floeter
SNMP server can monitor the changes using > SNMP gets and mgets. I do not want to use SNMP traps. > > Thanks for any feedback! > No. You would have to restart snmpd, there is no way to change it on runtime. But AgentX support might solve this in the future (you still need an shell -> AgentX wrapper). Reyk

Snmpd question

2014-02-12 Thread Bales, Tracy
Is it possible to have a shell script modify the contents of a user defined OID that is setup in snmpd.conf? I would like to have a cron event run a shell script and that script modify the OID values so that a remote SNMP server can monitor the changes using SNMP gets and mgets. I do not want

Re: openbsd snmpd and disk/sensors monitoring

2014-01-01 Thread Stuart Henderson
On 2013-12-30, Julien T wrote: > Hello, > > I'm trying to see if I can switch my new openbsd 5.4 box from net-snmp to > snmpd and for now, I miss only 2 things, disk informations and sensors that > are not in snmpd.conf man. > > For disk monitoring, I didn't find

openbsd snmpd and disk/sensors monitoring

2013-12-30 Thread Julien T
Hello, I'm trying to see if I can switch my new openbsd 5.4 box from net-snmp to snmpd and for now, I miss only 2 things, disk informations and sensors that are not in snmpd.conf man. For disk monitoring, I didn't find information anywhere. Checking the output of snmpwalk, I foun

Re: snmpd, oid and scripts

2013-04-13 Thread Stuart Henderson
On 2013-04-11, Joel Carnat wrote: > Hi, > > I wanted to get rid of net-snmp and use the shipped snmpd(8). > I have OpenBSD boxes running various services (DNS, Web, Mail...) and have > scripts providing service stats using the extend/exec net-snmp feature. I > read about th

snmpd, oid and scripts

2013-04-11 Thread Joel Carnat
Hi, I wanted to get rid of net-snmp and use the shipped snmpd(8). I have OpenBSD boxes running various services (DNS, Web, Mail...) and have scripts providing service stats using the extend/exec net-snmp feature. I read about the "oid" feature of snmpd(8) but it seems it can only pub

Snmpd and socket file creation

2011-11-23 Thread Russell Sutherland
It appears to me that the OpenBSD SNMP daemon: /usr/sbin/snmpd should create it's own socket file: /var/run/snmpd.sock upon startup. There seems to be an error which occurs at startup: # /usr/sbin/snmpd -d startup fatal: snmpe: failed to bind SNMP UDP socket check_child: lost child: snmp e

Question about snmpd and snmpctl...

2011-01-13 Thread Bales, Tracy
Will sending a trap with snmpdctl update the MIB information for a custom MIB setup with snmpd.conf? Or, does it only send the information to the snmp trap receiver without updating the MIB that was setup with snmpd.conf?

Re: Help with snmpd...

2010-12-03 Thread Pierre-Yves Ritschard
On Thu, Dec 2, 2010 at 10:33 PM, Bales, Tracy wrote: > I'm running 4.8 on an i386 platform. I have snmpd running with 300 custom > MIB's installed via snmpd.conf. I've confirmed that they're installed using > net-snmp's snmpwalk program. Each of my MIB&#x

Help with snmpd...

2010-12-02 Thread Bales, Tracy
I'm running 4.8 on an i386 platform. I have snmpd running with 300 custom MIB's installed via snmpd.conf. I've confirmed that they're installed using net-snmp's snmpwalk program. Each of my MIB's is an integer value...no strings. Question: Has anyone written the

Re: snmpd reports the wrong IfIndex/IP association

2010-09-29 Thread Koenig, Thomas
sorry, I push the send button accidently. NET-SNMP version: 5.4.2.1 Web: http://www.net-snmp.org/ Email: net-snmp-cod...@lists.sourceforge.net I didnt make changes during snmpd is running, I also reboot the server. maybe someone have a idea? regard, Tom >

snmpd reports the wrong IfIndex/IP association

2010-09-29 Thread Koenig, Thomas
Hi, I try to query the interfaces on my OpenBSD firewall. But I get a wrong IfIndex/IP association: IF-MIB::ifDescr.1 = STRING: lo0 IF-MIB::ifDescr.2 = STRING: em0 IF-MIB::ifDescr.3 = STRING: em1 IF-MIB::ifDescr.4 = STRING: em2 IF-MIB::ifDescr.5 = STRING: em3 IF-MIB::ifDescr.6 = STRING: enc0 IF-M

snmpd(8) - configuration

2009-11-30 Thread Farid Joubbi
Hi, I have two questions about the snmpd base: 1. Is there a way to disable the write community? I do not want to have snmp write enabled at all. 2. Is it possible to restrict snmp reads based on source address? I want to allow snmp read from only one single machine. (I know that I could do

Re: snmpd GET and GETNEXT against scalar OIDs

2009-02-12 Thread (private) HKS
On Thu, Feb 12, 2009 at 8:29 AM, Ariane van der Steldt wrote: > On Tue, Feb 03, 2009 at 05:20:28PM -0500, (private) HKS wrote: >> I made the following bug report on 2009-01-08, but didn't get a PR >> number back. Did I botch this report, or does the bugs@ address >> require hands-on that this repo

Re: snmpd GET and GETNEXT against scalar OIDs

2009-02-12 Thread Ariane van der Steldt
On Tue, Feb 03, 2009 at 05:20:28PM -0500, (private) HKS wrote: > I made the following bug report on 2009-01-08, but didn't get a PR > number back. Did I botch this report, or does the bugs@ address > require hands-on that this report simply hasn't gotten yet? > > Thanks for the clarification. PR'

snmpd GET and GETNEXT against scalar OIDs

2009-02-03 Thread (private) HKS
I made the following bug report on 2009-01-08, but didn't get a PR number back. Did I botch this report, or does the bugs@ address require hands-on that this report simply hasn't gotten yet? Thanks for the clarification. -HKS On Thu, Jan 8, 2009 at 3:52 PM, (private) HKS wrote:

disabling read-write community access globally in snmpd?

2008-11-27 Thread Daniel Ouellet
Hi, Isn't it a way to disable globally the read-write in snmpd by any chance? The man page explain how to set the oid for ready only, but that's per oid. I try to set the read-write to 0 as looking in the code I saw for the write != 0 is does the process, but I can't set

Re: snmpd

2008-06-14 Thread Brian A. Seklecki
> > Tim > > - Original Message > > From: Brian A. Seklecki <[EMAIL PROTECTED]> > > To: Tim Kuijsten <[EMAIL PROTECTED]> > > Cc: misc@openbsd.org > > Sent: Friday, May 9, 2008 1:35:46 AM > > Subject: Re: snmpd > > > > > >

Re: restricting snmpd access on 4.3 to a single IP

2008-06-10 Thread Jurvis LaSalle
On Jun 9, 2008, at 7:43 PM, Aaron Glenn wrote: On Mon, Jun 9, 2008 at 3:23 PM, Jurvis LaSalle <[EMAIL PROTECTED] > wrote: Hi, I've read the man page for snmpd.conf, but didn't see mention of a way to restrict snmpd to only respond to gets and sets from one ip address

Re: restricting snmpd access on 4.3 to a single IP

2008-06-09 Thread Aaron Glenn
On Mon, Jun 9, 2008 at 3:23 PM, Jurvis LaSalle <[EMAIL PROTECTED]> wrote: > Hi, > >I've read the man page for snmpd.conf, but didn't see mention of a > way to restrict snmpd to only respond to gets and sets from one ip address. > Is there a way to do this in

restricting snmpd access on 4.3 to a single IP

2008-06-09 Thread Jurvis LaSalle
Hi, I've read the man page for snmpd.conf, but didn't see mention of a way to restrict snmpd to only respond to gets and sets from one ip address. Is there a way to do this in snmpd.conf or should I look to a pf solution? Thanks, JL

Re: snmpd

2008-05-12 Thread Tim Kuijsten
in advance, Tim - Original Message > From: Brian A. Seklecki <[EMAIL PROTECTED]> > To: Tim Kuijsten <[EMAIL PROTECTED]> > Cc: misc@openbsd.org > Sent: Friday, May 9, 2008 1:35:46 AM > Subject: Re: snmpd > > > On Thu, 2008-05-08 at 15:22 -0700, Tim Kuij

Re: snmpd

2008-05-08 Thread Brian A. Seklecki
On Thu, 2008-05-08 at 15:22 -0700, Tim Kuijsten wrote: > It looks like there is no info about disk usage, memory usage, load > and other sensor stuff. I have no clue where to find the mibs (locate > mib or locate .txt | grep snmp have no results) or how to load them.. That's all in HOST-RESOURCES-

snmpd

2008-05-08 Thread Tim Kuijsten
I'm a total noob to snmp and was excited snmpd from Reyk is included in 4.3. I started snmpd with the default config and net-snmp-walked the tree. It looks like there is no info about disk usage, memory usage, load and other sensor stuff. I have no clue where to find the mibs (locate m

Monitoring pf with snmpd?

2008-04-22 Thread Matthew Dempsky
Is anyone working on adding pf monitoring support for snmpd (e.g., porting OPENBSD-PF-MIB.txt)? I would find it convenient to at least be able to monitor simple PF statistics (such as the output from 'pfctl -s info') over SNMP. (I'll work on a patch, but I want to avoid redun

Re: trouble configuring snmpd

2008-03-23 Thread Fratiman Vladut
Ok, thanks! I can now to make graphics for network traffic. Is very easy, problem is about confusion between snmpd from openbsd and snmpd from net-snmp. Now i use snmpd from openbsd, is very simply and work well. Thanks again! Stuart Henderson wrote: On 2008-03-22, Fratiman Vladut <[EM

Re: trouble configuring snmpd

2008-03-22 Thread Stuart Henderson
On 2008-03-22, Fratiman Vladut <[EMAIL PROTECTED]> wrote: > Can you post an simple snmpd.conf file? What for? net-snmp or OpenBSD snmpd? the latter is a 30-second job to look at snmpd.conf(5) and make something that works. > I overwrite the original, with one created by snmpconf

Re: trouble configuring snmpd

2008-03-22 Thread Fratiman Vladut
Can you post an simple snmpd.conf file? I overwrite the original, with one created by snmpconf but not work. Is posibil to make net-snmpd to work? Stuart Henderson wrote: On 2008-03-22, Fratiman Vladut <[EMAIL PROTECTED]> wrote: Finally i see that are two different binaries snmpd in o

Re: trouble configuring snmpd

2008-03-22 Thread Stuart Henderson
On 2008-03-22, Fratiman Vladut <[EMAIL PROTECTED]> wrote: > Finally i see that are two different binaries snmpd in openbsd. > One located in /usr/sbin and another into /usr/local/sbin the one in /usr/sbin is configured in /etc/snmpd.conf, and is normally started with snmpd

Re: trouble configuring snmpd

2008-03-22 Thread Fratiman Vladut
Finally i see that are two different binaries snmpd in openbsd. One located in /usr/sbin and another into /usr/local/sbin This in /usr/local/sbin are installed once when put net-snmpd package. I try to run command "/usr/local/sbin/snmpd -c /etc/snmp/snmpd.conf", but, no error, and

Re: trouble configuring snmpd

2008-03-22 Thread Fratiman Vladut
one I try to launch snmpd like this: # /usr/local/sbin/snmpd -f /etc/snmpd.conf I receive this error Segmentation fault (core dumped) Fratiman Vladut wrote: I try to configure snmpd in oreder to monitor traffic on openbsd. I use snmpconf, and configure only community name. The generated snmpd

Re: trouble configuring snmpd

2008-03-22 Thread Fratiman Vladut
Where can find an good tutorial about monitoring traffic with net-snmp? Fratiman Vladut wrote: I try to configure snmpd in oreder to monitor traffic on openbsd. I use snmpconf, and configure only community name. The generated snmpd.conf look like this

Re: trouble configuring snmpd

2008-03-20 Thread Reyk Floeter
On Fri, Mar 21, 2008 at 12:23:45AM +0200, Fratiman Vladut wrote: > rocommunity someone > > When i run snmpd in debug mode, i receive an error that say about syntax > error into snmpd.conf at line where is defined community name. > What is wrong? > are you trying to use open

trouble configuring snmpd

2008-03-20 Thread Fratiman Vladut
I try to configure snmpd in oreder to monitor traffic on openbsd. I use snmpconf, and configure only community name. The generated snmpd.conf look like this: ### # # snmpd.conf # # - created by the snmpconf configuration

Re: A necessary evil: snmpd(8) and snmpctl(8)

2007-12-06 Thread Insan Praja SW
On Wed, 05 Dec 2007 22:32:45 +0700, Jason George <[EMAIL PROTECTED]> wrote: Hi! I just imported snmpd(8) and snmpctl(8), an initial attempt to implement a new SNMP daemon for OpenBSD. SNMP is the "Simple Network Management Protocol" and it is still very commonly used in co

Re: A necessary evil: snmpd(8) and snmpctl(8)

2007-12-05 Thread Jason George
>Hi! > >I just imported snmpd(8) and snmpctl(8), an initial attempt to >implement a new SNMP daemon for OpenBSD. SNMP is the "Simple Network >Management Protocol" and it is still very commonly used in corporate >networks, by network vendors, and in network manageme

Re: A necessary evil: snmpd(8) and snmpctl(8)

2007-12-05 Thread John Jackson
This is great news! Hopefully I'll find the time to help test. John On Wed, Dec 05, 2007 at 11:52:12AM +0100, Reyk Floeter wrote: > Hi! > > I just imported snmpd(8) and snmpctl(8), an initial attempt to > implement a new SNMP daemon for OpenBSD. SNMP is the "Simpl

A necessary evil: snmpd(8) and snmpctl(8)

2007-12-05 Thread Reyk Floeter
Hi! I just imported snmpd(8) and snmpctl(8), an initial attempt to implement a new SNMP daemon for OpenBSD. SNMP is the "Simple Network Management Protocol" and it is still very commonly used in corporate networks, by network vendors, and in network management systems (NMS). SN

Re: snmpd on current

2007-11-21 Thread Brian A. Seklecki
On Wed, 21 Nov 2007, Insan Praja SW wrote: Date: Wed, 21 Nov 2007 18:45:47 +0700 From: Insan Praja SW <[EMAIL PROTECTED]> To: "misc@openbsd.org" Subject: snmpd on current Hi all, I'm currently running 4.2-current and installing net-snmp-5.4.1 from ports (updated). Somet

Re: snmpd on current

2007-11-21 Thread Insan Praja SW
Hi, On Wed, 21 Nov 2007 22:30:30 +0700, Brian A. Seklecki <[EMAIL PROTECTED]> wrote: On Wed, 21 Nov 2007, Insan Praja SW wrote: Date: Wed, 21 Nov 2007 18:45:47 +0700 From: Insan Praja SW <[EMAIL PROTECTED]> To: "misc@openbsd.org" Subject: snmpd on current Hi all,

snmpd on current

2007-11-21 Thread Insan Praja SW
Hi all, I'm currently running 4.2-current and installing net-snmp-5.4.1 from ports (updated). Something is wrong, when I run snmpd, it seem to eat all CPU and memory keep getting bigger.. is there anything wrong? thanks.. Insan OpenBSD 4.2-current (GENERIC) #1: Wed Nov 21 19:37:37 WIT

snmpd hangs on 4.1 looking up hrSWRunTable

2007-04-12 Thread daniele . pilenga
Hi misc@, while testing the to be released 4.1 I found a problem with the snmpd daemon (package is net-snmp-5.1.3p5). Trying, from another machine a command like this: snmptable -c public -v 1 1.2.3.4 HOST-RESOURCES-MIB::hrSWRunTable where 1.2.3.4 is the ip address of the

Re: openbsd 4.0 snmpd core dumps with vlan interface number higher as 9

2006-12-14 Thread [EMAIL PROTECTED]
e.gz > > first: if you built the port yourself, try running from a binary > package to rule out compilation errors. if that doesn't help... > this seems easily repeatable, so recompile the port with debugging > (assuming the port honours CFLAGS: "make clean; CFLAGS=-g make&q

Re: openbsd 4.0 snmpd core dumps with vlan interface number higher as 9

2006-12-14 Thread Stuart Henderson
, so recompile the port with debugging (assuming the port honours CFLAGS: "make clean; CFLAGS=-g make", then either reinstall or just run snmpd from the port build directory). get it to dump core then run 'gdb snmpd snmpd.core', type 'bt' which should display where in t

Re: openbsd 4.0 snmpd core dumps with vlan interface number higher as 9

2006-12-14 Thread [EMAIL PROTECTED]
ok, it seems its a problem of a variable definition in snmpd, isn't it ? Thomas On Wednesday 13 December 2006 23:30, Brian A. Seklecki wrote: > That's awesome! > > BTW, I submitted a PR on this yesterday but haven't gotten the automated > response. Will forward to y

Re: openbsd 4.0 snmpd core dumps with vlan interface number higher as 9

2006-12-13 Thread Brian A. Seklecki
That's awesome! BTW, I submitted a PR on this yesterday but haven't gotten the automated response. Will forward to you if I do. ~BAS On Wed, 13 Dec 2006, [EMAIL PROTECTED] wrote: Hi List, openbsd 4.0 i've vlan interfaces from vlan1 to vlan9 i can start snmpd -x localh