Xymon Mailing List Archive search

DevMON Configuration or SNMP

7 messages in this thread

list Dns · Wed, 19 Dec 2007 22:37:18 -0800 (PST) ·
Hi All,

Can one of you - Experts - show to me how to get SNMP to work in Hobbit? I've follow the instructions of DevMON but it doesn't work. I don't get any reports or status of my switches or routers - ONLY ping check.....Can anyon help me with the configuration of this? I'm new to Hobbit.

Thanks .....

DNS


Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
list Buchan Milne · Thu, 20 Dec 2007 09:07:14 +0200 ·
quoted from Dns
On Thursday 20 December 2007 08:37:18 DNS wrote:
Hi All,

Can one of you - Experts - show to me how to get SNMP to work in Hobbit?
I've follow the instructions of DevMON but it doesn't work.
What exactly doesn't work? What have you done? Do you see anything in the devmon logs?

Post one example line from your bb-hosts file. Can you snmpwalk the device using the hostname? Have you got the right community strings in the devmon config ?

devmon works fine, and is relatively easy to set up.

Regards,
Buchan
list Dns · Wed, 19 Dec 2007 23:31:29 -0800 (PST) ·
Hi...
The line i want to test with DevMON in bb-hosts is:
10.21.25.1 SW # DEVMON:tests(cpu)
I don't have any logs. I just want to read out the communitystring "public"
I've also configure a "crontab" with the following parameter:
*/15 * * * * perl /usr/local/devmon/devmon --readbbhosts
When I execute this on commandline it's run, but no logfile being created in /var/log
What Am I doing wrong?
Kind Regards,
DNS
quoted from Buchan Milne


----- Original Message ----
From: Buchan Milne <user-9b139aff4dec@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Cc: DNS <user-08e747311acb@xymon.invalid>
Sent: Thursday, December 20, 2007 8:07:14 AM
Subject: Re: [hobbit] DevMON Configuration or SNMP

On Thursday 20 December 2007 08:37:18 DNS wrote:
Hi All,

Can one of you - Experts - show to me how to get SNMP to work in Hobbit?
I've follow the instructions of DevMON but it doesn't work.
What exactly doesn't work? What have you done? Do you see anything in the 
devmon logs?

Post one example line from your bb-hosts file. Can you snmpwalk the device 
using the hostname? Have you got the right community strings in the devmon 
config ?

devmon works fine, and is relatively easy to set up.

Regards,
Buchan


Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
list Johann Eggers · Thu, 20 Dec 2007 15:41:45 +0100 ·
quoted from Dns
-----Original Message-----
From: DNS [mailto:user-08e747311acb@xymon.invalid]
Sent: Donnerstag, 20. Dezember 2007 08:31
To: Buchan Milne; user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] DevMON Configuration or SNMP

Hi...
The line i want to test with DevMON in bb-hosts is:
10.21.25.1 SW # DEVMON:tests(cpu)
I don't have any logs. I just want to read out the communitystring
"public"
I've also configure a "crontab" with the following parameter:
*/15 * * * * perl /usr/local/devmon/devmon --readbbhosts
When I execute this on commandline it's run, but no logfile being
created
in /var/log
What Am I doing wrong?
Kind Regards,
DNS
"Normally" there should be a logfile in the directory where devmon is
installed. You can configure this and other things in the devmon.cfg
file.

If you have added a new entry into your bb-hosts for devmon then you
have to run  ./devmon --readbbhosts to update the hosts.db file.

After that you can start the daemon simply by executing ./devmon; it
will daemonize and run in the background, performing the SNMP test every
5 minutes (default).

-Johann
list Buchan Milne · Thu, 20 Dec 2007 17:54:36 +0200 ·
quoted from Dns
On Thursday 20 December 2007 09:31:29 DNS wrote:
Hi...
The line i want to test with DevMON in bb-hosts is:
10.21.25.1 SW # DEVMON:tests(cpu)
I don't have any logs. I just want to read out the communitystring "public"
I've also configure a "crontab" with the following parameter:
*/15 * * * * perl /usr/local/devmon/devmon --readbbhosts
When I execute this on commandline it's run, but no logfile being created
in /var/log What Am I doing wrong?
Have you started devmon itself ? The devmon --readbbhosts is just there to 
update the "database" of hosts to poll.

As far as I remember, a sample init script is provided in the source tarball, 
you can use that to start devmon.

Regards,
Buchan
list Dns · Fri, 21 Dec 2007 02:21:18 -0800 (PST) ·
Well...when i just call /devmon without anything it won't start. But with perl /devmon it run but nothing happens. How do i configure Demon properly and run the daemon? I lost....Install manual isn't that clear for a newbie....
quoted from Buchan Milne

----- Original Message ----
From: Buchan Milne <user-9b139aff4dec@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Cc: DNS <user-08e747311acb@xymon.invalid>
Sent: Thursday, December 20, 2007 4:54:36 PM
Subject: Re: [hobbit] DevMON Configuration or SNMP

On Thursday 20 December 2007 09:31:29 DNS wrote:
Hi...
The line i want to test with DevMON in bb-hosts is:
10.21.25.1 SW # DEVMON:tests(cpu)
I don't have any logs. I just want to read out the communitystring "public"
I've also configure a "crontab" with the following parameter:
*/15 * * * * perl /usr/local/devmon/devmon --readbbhosts
When I execute this on commandline it's run, but no logfile being created
in /var/log What Am I doing wrong?
Have you started devmon itself ? The devmon --readbbhosts is just there to 
update the "database" of hosts to poll.

As far as I remember, a sample init script is provided in the source tarball, 
you can use that to start devmon.

Regards,
Buchan


Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
list Johann Eggers · Fri, 21 Dec 2007 11:41:16 +0100 ·
quoted from Dns
-----Original Message-----
From: DNS [mailto:user-08e747311acb@xymon.invalid]
Sent: Freitag, 21. Dezember 2007 11:21
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] DevMON Configuration or SNMP

Well...when i just call /devmon without anything it won't start. But
with
perl /devmon it run but nothing happens. How do i configure Demon
properly
and run the daemon? I lost....Install manual isn't that clear for a
newbie....
Is the devmon script executable?

Check the path of your perl interpreter; does it match with the first
line in the devmon script?

Again: configuration is done in the devmon.cfg file. If the devmon
script is executable and the perl interpreter can be found (often
/usr/bin/perl) then cd to the install dir of devmon and just starting
devmon with ./devmon  (keep an eye that you don't forget the dot). 
To become more verbose output you can start it with ./devmon -vvvvv

Read the manual...

-Johann