[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
----- Original Message ---- From: Buchan Milne <bgmilne at staff.telkomsa.net> To: hobbit at hswn.dk Cc: DNS <dns1407 at yahoo.com> 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
-----Original Message----- From: DNS [mailto:dns1407 at yahoo.com] Sent: Donnerstag, 20. Dezember 2007 08:31 To: Buchan Milne; hobbit at hswn.dk 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
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
participants (3)
-
bgmilne@staff.telkomsa.net
-
dns1407@yahoo.com
-
Johann.Eggers@teleatlas.com