#raspbian IRC Log


IRC Log for 2013-02-01

Timestamps are in GMT/BST.

[22:54] -cameron.freenode.net- *** Looking up your hostname...
[22:54] -cameron.freenode.net- *** Checking Ident
[22:54] -cameron.freenode.net- *** Found your hostname
[22:54] -cameron.freenode.net- *** Got Ident response
[22:54] * RaspbianLogBot (logbot@raspbian.dh.bytemark.co.uk) has joined #raspbian
[22:54] * Topic is 'Raspbian -- Debian hard float for the Raspberry Pi: http://www.raspbian.org/ Logs at: http://plugwash.raspbian.org/logs/ looking for mirrors in asia, africa and south america'
[22:54] * Set by plugwash!~plugwash@2001:5c0:1400:a::1a3 on Mon Dec 10 22:15:29 GMT 2012
[22:55] <plugwash> got what to work?
[23:00] <pelle2> just mounting of a nfs share
[23:07] * Mogwai1 (~mogwai@2607:f2c0:f00e:7000:34ec:754d:2da6:cdf6) has joined #raspbian
[23:07] <pelle2> is it possible to monitor raspbian via snmpd?
[23:08] * [SkG] (~sconde@unaffiliated/skg/x-897332) Quit (Quit: Saliendo)
[23:08] <plugwash> I haven't tried it but I can't see any reason why it wouldn't work
[23:09] * Mogwai (~mogwai@206-248-185-100.dsl.teksavvy.com) Quit (Ping timeout: 264 seconds)
[23:10] <pelle2> i recently set it up on a debian machine, but with raspbian i can't get it to work
[23:10] <pelle2> it installs snmp and snmpd fine it seems, i configure snmpd.conf, but the pollin cacti machine just gets an error
[23:12] * Mogwai1 is now known as Mogwai
[23:15] * Megaf (~PhenomIIx@unaffiliated/megaf) has joined #raspbian
[23:15] * xiambax (~xiambax@S0106c8600093fad6.vn.shawcable.net) Quit (Remote host closed the connection)
[23:20] <plugwash> well I honestly don't have any idea how to start troubleshooting such problems sorry :(
[23:23] <pelle2> ok, n
[23:23] <pelle2> p
[23:23] * _nitti (~nitti@173-160-123-81-Minnesota.hfc.comcastbusiness.net) Quit (Remote host closed the connection)
[23:24] <plugwash> might want to ask on a snmp irc channel or so
[23:25] * xiambax (~xiambax@S0106c8600093fad6.vn.shawcable.net) has joined #raspbian
[23:25] * zyxxx (58ac09fb@gateway/web/freenode/ip. Quit (Quit: Page closed)
[23:27] <pelle2> hm, yeah
[23:27] <pelle2> if there are any :)
[23:28] <bitbckt> I'd start with the normal things: can the two machines reach each other? is the port open? is it accessible through iptables? &c.
[23:29] <MAbeeTT> pelle2: search for gettnig snmp raw information,
[23:29] <bitbckt> has the daemon bound the port on the correct interface (viz. your earlier question about multiple interfaces)
[23:29] <Snow-> Try snmpwalking it?
[23:29] <Snow-> See how it fails?
[23:29] * _nitti (~nitti@173-160-123-81-Minnesota.hfc.comcastbusiness.net) has joined #raspbian
[23:31] <MAbeeTT> pelle2: probably snmpd searchs for information not available on raspberry pi, ( like coolers' RPM for example )
[23:31] <pelle2> it polls basic stuff like cpu utilization, etc
[23:31] <pelle2> and i've seen people who poll pi's
[23:32] <pelle2> but only locally, running cacti on the same device
[23:37] * Rothchild (~Rothchild@ has joined #raspbian
[23:38] <pelle2> Snow-: i dont get snmpwalk, do i run it from the cacti machine or the pi?
[23:38] * Rothchild (~Rothchild@ Quit (Read error: Connection reset by peer)
[23:38] <pelle2> bitbckt: i can ping the machines from each other
[23:38] * Rothchild (~Rothchild@ has joined #raspbian
[23:39] <bitbckt> can you telnet to port 161 from the cacti machine into the pi?
[23:39] * ribamar (ribamar@nat/indt/x-geowracwfvbfqyco) Quit (Remote host closed the connection)
[23:40] * ksclarke (~kevin@pdpc/supporter/active/ksclarke) Quit (Quit: Leaving.)
[23:42] <pelle2> rying
[23:42] <pelle2> telnet: Unable to connect to remote host: Connection refused
[23:42] <bitbckt> okay. so something is blocking that port.
[23:42] <pelle2> should i be able to telnet into the snmp port?
[23:42] <bitbckt> yes.
[23:42] <pelle2> hm
[23:42] * int3nz0r (~int3nz0r@ Quit (Quit: Computer has gone to sleep.)
[23:42] <pelle2> they are connected to the same switch, wired
[23:42] * johen_away is now known as johen
[23:42] <bitbckt> on the pi, does netstat -tulpn | grep 161 show anything?
[23:42] <pelle2> the other machines being polled is also on the same switch
[23:42] <bitbckt> (i.e. is snmpd bound to a port)
[23:43] <pelle2> pi@raspberrypi ~ $ sudo netstat -tulpn | grep 161
[23:43] <pelle2> udp 0 0* 16619/snmpd
[23:44] <pelle2> don't know what that means, though
[23:44] * blkhawk is now known as blkaway
[23:44] <bitbckt> that means snmpd is only listing on your loopback interface.
[23:44] <bitbckt> in your configuration file, there's probably a way to specify which interface snmpd should listen on.
[23:47] * blkaway is now known as blkhawk
[23:48] * monkeyco_ (~monkeycod@ Quit (Remote host closed the connection)
[23:50] <MAbeeTT> pelle2: http://wiki.debian.org/SNMP#Defaults
[23:50] <MAbeeTT> pelle2: RTFM
[23:50] <MAbeeTT> don't take it bad, please ;)
[23:53] * simone_ (~simone@host214-156-dynamic.21-79-r.retail.telecomitalia.it) has joined #raspbian
[23:54] * simone__ (~simone@host127-246-dynamic.37-79-r.retail.telecomitalia.it) Quit (Ping timeout: 256 seconds)
[23:55] <pelle2> bitbckt: hm, i changed snmpd.conf to allow access from any IP, that's the only config i know of, doesn't say anything about interface
[23:56] <bitbckt> as MAbeeTT pointed out, it looks like snmpd expects the listen address on the command line.
[23:56] <MAbeeTT> bitbckt: yes, any address for binding is
[23:56] <bitbckt> right.
[23:58] <pelle2> what exactly does that mean
[23:59] <bitbckt> snmpd needs to listen on one of your network ports, each of which have an IP address.
[23:59] <MAbeeTT> pelle2: basically a process actin as server "listen" to a hostid (an IP) and port.

These logs were automatically created by RaspbianLogBot on irc.freenode.net using the Java IRC LogBot.