[hobbit] {Disarmed} Re: [hobbit] Trying to create graphs with Devmon
Buchan Milne
bgmilne at staff.telkomsa.net
Thu Apr 2 19:51:56 CEST 2009
On Thursday 02 April 2009 18:11:32 William Ottley wrote:
> Hi Buchan,
> I guess what you say makes sense.
> I only get the "default" xymon page.
>
> Now you say I have to put in the tests in bb-hosts, but how is this done?
Devmon must send it a status report, for which devmon needs to be running
(nothing else is required by default).
[...]
> Output from /home/xymon/devmon/hosts.db:
>
> firewall^[10.136.209.150^[cisco^[asa^[memory,if_stat,if_load,if_err,if_dsc,
>c pu,cluster,serial,specs,connects^[cmisnmp^[^[
> router-main^[10.136.209.1^[cisco^[2600^[all^[cmisnmp^[^[
> switch-233^[10.136.209.233^[cisco^[2960^[all^[public^[^[
> walmart^[161.174.32.2^[cisco^[2600^[all^[cmisnmp^[^[
So, devmon has discovered them, good.
>
> Nothing omes up, I need to use the vv, and this comes up:
>
> [xymon at centos devmon]$ ./devmon --readbbhosts -vv
> [09-04-02 at 07:11:22] Option 'bblocation' defaulting to:
> [09-04-02 at 07:11:23] SNMP querying all hosts in bb-hosts file, please
> wait... [09-04-02 at 07:11:23] Checking if # bbd http://centos/
> apache matches NET:.
> [09-04-02 at 07:11:23] Checking if # matches NET:.
> [09-04-02 at 07:11:23] Checking if # http://10.136.209.209/ matches
> NET:.
> [09-04-02 at 07:11:23] Checking if # matches NET:.
> [09-04-02 at 07:11:23] Checking if # DEVMON:model(cisco;2960) matches
> NET:.
> [09-04-02 at 07:11:23] Checking if #
> DEVMON:model(cisco;2600),cid(cmisnmp) matches NET:.
> [09-04-02 at 07:11:23] Checking if #
> DEVMON:model(cisco;asa),cid(cmisnmp),tests(memory,if_stat,if_load,if_err,if
>_ dsc,cpu,cluster,serial,specs,connects) matches NET:.
> [09-04-02 at 07:11:23] Checking if # if_load if_dsc connects
> temp DEVMON:model(cisco;2600),cid(cmisnmp) matches NET:.
> [09-04-02 at 07:11:23] Option 'bbdateformat' defaulting to: .
> [09-04-02 at 07:11:23] Option 'dispport' defaulting to: 1984.
> [09-04-02 at 07:11:23] Option 'dispserv' defaulting to: localhost.
> [09-04-02 at 07:11:23] Querying pre-existing hosts
> [09-04-02 at 07:11:23] Discovered switch-233 as a cisco 2960
> [09-04-02 at 07:11:23] Discovered walmart as a cisco 2600
> [09-04-02 at 07:11:23] Discovered router-main as a cisco 2600
> [09-04-02 at 07:11:23] Discovered firewall as a cisco asa
Ok, but have you actually started devmon ? As in (in your case). Running it
with --readbbhosts doesn't start devmon, it just updates the hosts.db file ...
$ ./devmon
or
$ ./devmon -vv
BTW, there are RPMS of xymon and devmon for RHEL/Centos, which have init
scripts and everyhing ....
If devmon is running, it should be logging to it's log file (even with no
verbosity, it logs that it starting (IIRC).
Regards,
Buchan
More information about the Xymon
mailing list