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....
----- 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 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
____________________________________________________________________________________
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-----Original Message----- From: DNS [mailto:dns1407 at yahoo.com] Sent: Freitag, 21. Dezember 2007 11:21 To: hobbit at hswn.dk 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
participants (2)
-
dns1407@yahoo.com
-
Johann.Eggers@teleatlas.com