Hi jow,
Thanks for following up.
Here the outputs:
root@Router00177962:/tmp# iwinfo wl0 info
wl0 ESSID: "Chillifire Hotspot"
Access Point: 00:1D:7E:E7:96:D4
Type: wl HW Mode(s): 802.11bg
Mode: Master Channel: 3 (2.422 GHz)
Tx-Power: 24 dBm Link Quality: 5/5
Signal: 1 dBm Noise: -92 dBm
Bit Rate: 54.0 MBit/s
Encryption: none
Supports VAPs: yes
root@Router00177962:/tmp# cat /etc/collectd.conf
# Please read collectd.conf(5) for a list of options.
# http://collectd.org/
#
BaseDir "/var/lib/collectd"
PIDFile "/var/run/collectd.pid"
Interval 60
ReadThreads 1
LoadPlugin cpu
LoadPlugin load
LoadPlugin network
LoadPlugin memory
LoadPlugin ping
LoadPlugin processes
LoadPlugin iwinfo
<Plugin network>
Server "120.138.19.134" "265"
</Plugin>
<Plugin ping>
Host "login02.chillifire.net"
</Plugin>
<Plugin processes>
Process "chilli"
</Plugin>
No errors on manual start as you had requested. When starting daemon
normally with /etc/init.d/collectd start collectd does run fine:
root@Router00177962:/tmp# ps
PID USER VSZ STAT COMMAND
1 root 1432 S init
2 root 0 SW [keventd]
3 root 0 RWN [ksoftirqd_CPU0]
4 root 0 SW [kswapd]
5 root 0 SW [bdflush]
6 root 0 SW [kupdated]
8 root 0 SW [mtdblockd]
94 root 0 SWN [jffs2_gcd_mtd4]
120 root 1432 S init
147 root 1440 S syslogd -C16
149 root 1420 S klogd
856 root 888 S /usr/sbin/nas -P /var/run/nas.wl0.1.pid -H 34954
-l b
930 root 1436 S udhcpc -t 0 -i eth0.1 -b -p
/var/run/dhcp-eth0.1.pid
1239 root 948 S edge -d tun9 -f -r 0 -a 0.0.0.0 -s 255.255.255.255
-m
1270 root 1436 S udhcpc -i tun9 -b -p /var/run/tun9.pid -R -t 3
1284 root 1440 S crond -c /etc/crontabs -l 5
1299 root 1112 S /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p
22
1402 root 940 S /usr/sbin/uhttpd -f -h /www -r Router00177962 -x
/cgi
1425 nobody 868 S /usr/sbin/dnsmasq -K -D -y -Z -b -E -s lan -S
/lan/ -
1511 root 2256 S /usr/sbin/chilli --conf=/etc/chilli.conf --pidfile
/v
1547 root 1048 S /usr/sbin/ffwatchd
1649 root 1432 S /usr/sbin/ntpd -n -p 0.openwrt.pool.ntp.org -p
1.open
2022 root 1188 S /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p
22
2024 root 1436 S -ash
2235 root 2476 S /usr/sbin/collectd -f
2237 root 2476 S /usr/sbin/collectd -f
2238 root 2476 S /usr/sbin/collectd -f
2239 root 2476 S /usr/sbin/collectd -f
2245 root 1428 R ps
No /tmp data file is created:
root@Router00177962:/tmp# ls -l
-rw-r--r-- 1 root root 4 Jan 25 06:05 TZ
-rw-r--r-- 1 root root 79 Jan 25 05:59 dhcp.leases
-rw-r--r-- 1 root root 400 Sep 8 15:55 hs.conf
drwxr-xr-x 3 root root 60 Sep 8 15:56 lib
drwxr-xr-x 2 root root 40 Jan 25 06:04 lock
drwxr-xr-x 2 root root 80 Sep 8 15:55 log
-rw-r--r-- 1 root root 773 Sep 8 15:55 main.conf
drwxr-xr-x 2 root root 60 Jan 25 06:04 opkg-lists
drwxr-xr-x 2 root root 40 Jan 1 2000 overlay
-rw-r--r-- 1 root root 32 Sep 8 15:55 resolv.conf
-rw-r--r-- 1 root root 77 Sep 8 15:55 resolv.conf.auto
drwxr-xr-x 2 root root 380 Jan 25 06:05 run
-rw-r--r-- 1 root root 14 Sep 8 15:55 settings
drwxr-xr-x 3 root root 60 Sep 8 15:55 spool
drwxr-xr-x 2 root root 100 Sep 8 15:55 state
drwxr-xr-x 3 root root 60 Jan 25 06:04 usr
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Jo-Philipp
Wich
Sent: Wednesday, 25 January 2012 1:43 p.m.
To: OpenWrt Development List
Subject: Re: [OpenWrt-Devel] collectd-mod-iwinfo
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
So if you install the iwinfo cli frontend and run "iwinfo wl0 info", does it
output anything useful, does it identify the hw as "type wl" ?
Is "LoadPlugin iwinfo" in the enerated collectd.conf ?
Is "killall -9 collectd; collectd -f" reporting any errors ?
Are there iwinfo *.rrd files generated in /tmp/$hostname/ ?
~ Jow
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk8fUBwACgkQdputYINPTPPt1QCfb8VxBljgoJ8As00b87RUPlz3
UgQAniLL1LV4M3QUPxUHc7AH0ztzRcMe
=XTkI
-----END PGP SIGNATURE-----
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel