From: Buchan M. <bg...@st...> - 2010-12-01 20:56:33
|
On Tuesday, 30 November 2010 15:32:46 Taylor Lewick wrote: > I started devmon with... > > ./devmon --debug -vvvvv -d /home/xymon/server/etc/bbhosts.cfg -c > /usr/local/devmon/devmon.cfg The -d should point to a file maintained by devmon (created or updated with the --readbbhosts option), typically called hosts.db. By default, unpatched devmon looks for hosts.db in the same directory as the 'devmon' script (but, distribution packages patch it to be in a filesystem intended for "volatile" files) Probably this is sufficient (with working directory /usr/local/devmon): ./devmon --debug -vvvvv If not, try: ./devmon --debug -vvvvv -d /usr/local/devmon/hosts.db -c /usr/local/devmon/devmon.cfg > And in the /var/log/devmon.log file, I do see: > > [10-11-29@10:53:20] DEBUG TEMPLATES: running post_template_load() > [10-11-29@10:53:20] DEBUG CFG: running read_hosts > [10-11-29@10:53:20] DEBUG SNMP: running poll_devices() With one or more -v's, you should also see a line such as this for each device: [10-12-01@21:51:28] Querying localdevmon for tests disk,processes,if_stat,memory,temp,diskio,ip_route,if_ipv4,if_load Regards, Buchan |