bsnmpd + zfs

2009-11-30 Thread Gergely CZUCZY
Hello, I've read in the 8.0 detailed release notes [1] that bsnmpd(1) now supports ZFS OIDs. So far i wasn't able to lure this support out of it, and I'm neither able to find any information on this in its manual or among the MIB files, or in the complete snmp walk of the host. I've enabled mbII

Re: bsnmpd + zfs

2009-11-30 Thread krad
2009/11/30 Gergely CZUCZY gergely.czu...@harmless.hu Hello, I've read in the 8.0 detailed release notes [1] that bsnmpd(1) now supports ZFS OIDs. So far i wasn't able to lure this support out of it, and I'm neither able to find any information on this in its manual or among the MIB files

Re: bsnmpd vs net-snmp

2009-04-30 Thread Maxim Khitrov
MK parameters like network, cpu, and memory usage. SNMP is an obvious MK choice to do the monitoring and I'm planning to set up rrdtool to MK generate graphs of captured data. The question is what SNMP agent to MK use. I found net-snmp and bsnmpd (which is included in the base MK system). Has

Re: bsnmpd vs net-snmp

2009-04-30 Thread Steve Bertrand
tried this already. It causes bsnmpd to listen on the given IP as well, but doesn't remove the *:* entry: r...@gw1 [/root]# sockstat -l4 USER COMMANDPID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root bsnmpd 61251 4 udp4 *:* *:* root bsnmpd

Re: bsnmpd vs net-snmp

2009-04-30 Thread Maxim Khitrov
ports begemotSnmpdPortStatus.192.168.2.254.161 = 1 Thanks, but I tried this already. It causes bsnmpd to listen on the given IP as well, but doesn't remove the *:* entry: r...@gw1 [/root]# sockstat -l4 USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS root     bsnmpd

Re: bsnmpd vs net-snmp

2009-04-30 Thread Steve Bertrand
.. # open standard SNMP ports begemotSnmpdPortStatus.192.168.2.254.161 = 1 Thanks, but I tried this already. It causes bsnmpd to listen on the given IP as well, but doesn't remove the *:* entry: r...@gw1 [/root]# sockstat -l4 USER Â Â COMMAND Â Â PID Â FD PROTO Â LOCAL ADDRESS Â Â Â Â

Re: bsnmpd vs net-snmp

2009-04-30 Thread Maxim Khitrov
On Thu, Apr 30, 2009 at 9:39 AM, Steve Bertrand st...@ibctech.ca wrote: I see now what you are saying: # sockstat -l4 root     bsnmpd     2857  5  udp4   *:*                   *:* root     bsnmpd     2857  6  udp4   127.0.0.1:161         *:* root     bsnmpd     2857  7  udp4   208.70.106.1

Re: bsnmpd vs net-snmp

2009-04-30 Thread Steve Polyack
Morgan Wesström wrote: So I have two questions: 1) Is --with-mib-modules=if-mib already covered in the Makefile? I can see the parameter but it refers to a variable I don't know the contents of. The variable seems to refer to the build option NET_SNMP_MIB_MODULES which is mentioned at the

Re: bsnmpd vs net-snmp

2009-04-30 Thread Morgan Wesström
2) Is there anyway to enable these two options during make without editing the Makefile? 2. The easiest way is to set the define upon running make [/usr/ports/net-mgmt/net-snmp]$ make -DWITH_MFD_REWRITES install clean Thanks Steve, I actually tried that before posting but thought I made

Re: bsnmpd vs net-snmp

2009-04-29 Thread Maxim Khitrov
the monitoring and I'm planning to set up rrdtool to MK generate graphs of captured data. The question is what SNMP agent to MK use. I found net-snmp and bsnmpd (which is included in the base MK system). Has anyone here used both implementations, and if so, what MK are the basic differences? main

Re: bsnmpd vs net-snmp

2009-04-29 Thread Morgan Wesström
net-snmp has no problems providing 64-bit counters (interface and disk). You must build it with -DWITH_MFD_REWRITES (passes --with-mfd-rewrites to ./configure). I do not know why this is not the default. It works just fine. I also have a PR open to make this define a ports 'make config'

Re: bsnmpd vs net-snmp

2009-04-29 Thread Brandon Weisz
choice to do the monitoring and I'm planning to set up rrdtool to MK generate graphs of captured data. The question is what SNMP agent to MK use. I found net-snmp and bsnmpd (which is included in the base MK system). Has anyone here used both implementations, and if so, what MK are the basic

Re: bsnmpd vs net-snmp

2009-04-28 Thread Mel Flynn
planning to set up rrdtool to MK generate graphs of captured data. The question is what SNMP agent to MK use. I found net-snmp and bsnmpd (which is included in the base MK system). Has anyone here used both implementations, and if so, what MK are the basic differences? main difference

bsnmpd vs net-snmp

2009-04-27 Thread Maxim Khitrov
-snmp and bsnmpd (which is included in the base system). Has anyone here used both implementations, and if so, what are the basic differences? Thanks, Max ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: bsnmpd vs net-snmp

2009-04-27 Thread Steve Bertrand
agent to use. I found net-snmp and bsnmpd (which is included in the base system). Has anyone here used both implementations, and if so, what are the basic differences? I use bsnmpd, because I couldn't measure 64-bit counters otherwise. Steve

Re: bsnmpd vs net-snmp

2009-04-27 Thread Anton Yuzhaninov
data. The question is what SNMP agent to MK use. I found net-snmp and bsnmpd (which is included in the base MK system). Has anyone here used both implementations, and if so, what MK are the basic differences? main difference is the set of supported MIBs. In general net-snmp supports more MIBs than

Re: bsnmpd vs net-snmp

2009-04-27 Thread Steve Polyack
. The question is what SNMP agent to use. I found net-snmp and bsnmpd (which is included in the base system). Has anyone here used both implementations, and if so, what are the basic differences? I use bsnmpd, because I couldn't measure 64-bit counters otherwise. net-snmp has no problems

Re: bsnmpd vs net-snmp

2009-04-27 Thread Steve Bertrand
graphs of captured data. The question is what SNMP agent to use. I found net-snmp and bsnmpd (which is included in the base system). Has anyone here used both implementations, and if so, what are the basic differences? I use bsnmpd, because I couldn't measure 64-bit counters otherwise

Re: bsnmpd

2009-04-09 Thread Festin Alexander
with a script...maybe, i dnt know. I understand there is always that way, but I'd like to figure out the proper way How about to put some echo or logger into /etc/rc.d/bsnmpd for tracing script? I use bsnmpd and have no troubles. have you used it inside of jail? or in host

Re: bsnmpd

2009-04-08 Thread Festin Alexander
way How about to put some echo or logger into /etc/rc.d/bsnmpd for tracing script? I use bsnmpd and have no troubles. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any

Re: bsnmpd

2009-04-08 Thread alexus
that way, but I'd like to figure out the proper way How about to put some echo or logger into /etc/rc.d/bsnmpd for tracing script? I use bsnmpd and have no troubles. have you used it inside of jail? or in host environment? as i mentioned earlier it works fine in host, but not in jail

bsnmpd

2009-04-06 Thread alexus
Hello, I have bsnmpd enabled in rc.conf r...@lama ~ 501$ grep ^b /etc/rc.conf bsnmpd_enable=YES r...@lama ~ 502$ yet, whenever I restart my computer, it won't start on boot, but if I run manual command /etc/rc.d/bsnmpd start it starts fine no problem -- http://alexus.org

Re: bsnmpd

2009-04-06 Thread Vasadi I. Claudiu Florin
On Mon, 06 Apr 2009 21:19:27 +0300, alexus ale...@gmail.com wrote: Hello, I have bsnmpd enabled in rc.conf r...@lama ~ 501$ grep ^b /etc/rc.conf bsnmpd_enable=YES r...@lama ~ 502$ yet, whenever I restart my computer, it won't start on boot, but if I run manual command /etc/rc.d/bsnmpd

Re: bsnmpd

2009-04-06 Thread alexus
feel free to take a look, script located at /etc/rc.d/bsnmpd, it's very simple script all it does it runs /usr/sbin/bsnmpd that's it On Mon, Apr 6, 2009 at 2:21 PM, Vasadi I. Claudiu Florin claudiu.vas...@gmail.com wrote: On Mon, 06 Apr 2009 21:19:27 +0300, alexus ale...@gmail.com wrote: Hello

Re: bsnmpd

2009-04-06 Thread Vasadi I. Claudiu Florin
On Mon, 06 Apr 2009 21:41:07 +0300, alexus ale...@gmail.com wrote: feel free to take a look, script located at /etc/rc.d/bsnmpd, it's very simple script all it does it runs /usr/sbin/bsnmpd that's it Indeed, very simplistic script. So I also did bsnmpd_enable=YES in rc.conf and after

Re: bsnmpd

2009-04-06 Thread alexus
On Mon, Apr 6, 2009 at 2:46 PM, Vasadi I. Claudiu Florin claudiu.vas...@gmail.com wrote: On Mon, 06 Apr 2009 21:41:07 +0300, alexus ale...@gmail.com wrote: feel free to take a look, script located at /etc/rc.d/bsnmpd, it's very simple script all it does it runs /usr/sbin/bsnmpd that's

Re: bsnmpd

2009-04-06 Thread Vasadi I. Claudiu Florin
hmm how about trying to make your own script that starts bsnmpd ? try it. does it work ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd

Re: bsnmpd

2009-04-06 Thread alexus
On Mon, Apr 6, 2009 at 3:08 PM, Vasadi I. Claudiu Florin claudiu.vas...@gmail.com wrote: hmm how about trying to make your own script that starts bsnmpd ? try it. does it work ? I guess I could put something in either /usr/local/etc/rc.d to kick /etc/rc.d/bsnmpd script or maybe even

Re: bsnmpd

2009-04-06 Thread Vasadi I. Claudiu Florin
I guess I could put something in either /usr/local/etc/rc.d to kick /etc/rc.d/bsnmpd script or maybe even put it in /etc/rc.local, but that wouldn't be right way to go, as this should work from /etc/rc.conf by itself... Yeah, it should. Did you check the execution bit on the script ? Is it set

Re: bsnmpd

2009-04-06 Thread Vasadi I. Claudiu Florin
2) if that would be incorrect i wouldn't be able to run it manually Yes, your right, my mistake. So first of all, are you positive that, at startup, there are no lines, even vagli, related to bsnmpd ? Errors... nothing ? Second, I'm all out of ideas, except to create a second script and use

Re: bsnmpd

2009-04-06 Thread alexus
On Mon, Apr 6, 2009 at 3:29 PM, Vasadi I. Claudiu Florin claudiu.vas...@gmail.com wrote: 2) if that would be incorrect i wouldn't be able to run it manually Yes, your right, my mistake. So first of all, are you positive that, at startup, there are no lines, even vagli, related to bsnmpd

Re: bsnmpd

2009-04-06 Thread alexus
On Mon, Apr 6, 2009 at 3:38 PM, Vasadi I. Claudiu Florin claudiu.vas...@gmail.com wrote: All out of ideas. try with a script...maybe, i dnt know. I understand there is always that way, but I'd like to figure out the proper way -- http://alexus.org/

Re: bsnmpd

2009-04-06 Thread Anton Yuzhaninov
On Mon, 6 Apr 2009 14:19:27 -0400, alexus wrote: a I have bsnmpd enabled in rc.conf a a a r...@lama ~ 501$ grep ^b /etc/rc.conf a bsnmpd_enable=YES a r...@lama ~ 502$ a a yet, whenever I restart my computer, it won't start on boot, but if I a run manual command a a /etc/rc.d/bsnmpd start

Re: bsnmpd

2009-04-06 Thread alexus
On Mon, Apr 6, 2009 at 5:08 PM, Anton Yuzhaninov cit...@citrin.ru wrote: On Mon, 6 Apr 2009 14:19:27 -0400, alexus wrote: a I have bsnmpd enabled in rc.conf a a a r...@lama ~ 501$ grep ^b /etc/rc.conf a bsnmpd_enable=YES a r...@lama ~ 502$ a a yet, whenever I restart my computer, it won't

Re: bsnmpd

2007-03-08 Thread Andrew Pantyukhin
On 3/8/07, Oliver Lehmann [EMAIL PROTECTED] wrote: Andrew Pantyukhin wrote: Try this: http://www.freshports.org/net-mgmt/bsnmp-regex/ Not sure, never used it myself. We've also got smux in development, so you can run bsnmpd side by side with net-snmp or any other server, if that makes any

bsnmpd

2007-03-07 Thread Oliver Lehmann
Hi, please keep me CCed - I'm not subscribed to questions@ Is there a way to have bsnmpd execute a script when questioning a specific oid and returning it's output? Like it can be done with the following config directive in net-snmp exec .1.1.5.0 hdte /usr/local/snmp-scripts/get_hdd_temp.sh

Re: bsnmpd

2007-03-07 Thread Andrew Pantyukhin
Try this: http://www.freshports.org/net-mgmt/bsnmp-regex/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: bsnmpd

2007-03-07 Thread Oliver Lehmann
Andrew Pantyukhin wrote: Try this: http://www.freshports.org/net-mgmt/bsnmp-regex/ with this i would need a cronjob, executing my scrips from time to time and passing their output to the regexSocket, or? -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/

Re: bsnmpd: send: Connection refused

2006-09-08 Thread Feodor Trubetskoy
On 29.07.2006 01:31, James Long wrote: traphost := localhost trapport := 162 When I start bsnmpd, I get # /etc/rc.d/bsnmpd start Starting bsnmpd. snmpd[5474]: send: Connection refused ^C# What is causing the Connection refused message? Probably the reason of the message

bsnmpd: send: Connection refused

2006-07-28 Thread James Long
I'm trying to implement the bsnmpd service on one of my machines. In rc.conf I have: # run the bsnmpd daemon, with debugging bsnmpd_enable=YES bsnmpd_flags=-c /etc/snmpd-test.config -d -D dump In hosts.allow, very near the top, I have: bsnmpd : ALL : allow Here is the diff of the sample

Re: bsnmpd help

2006-04-28 Thread Lowell Gilbert
Sean Murphy [EMAIL PROTECTED] writes: I am running FreeBSD 5.4 and would like to monitor it using the included bsnmpd. However the handbook did not have any information about it, the man page was pretty lean and the list archive is very scarce on the topic. I checked the /etc/defaults

bsnmpd help

2006-04-27 Thread Sean Murphy
I am running FreeBSD 5.4 and would like to monitor it using the included bsnmpd. However the handbook did not have any information about it, the man page was pretty lean and the list archive is very scarce on the topic. I checked the /etc/defaults/rc.conf and noticed