Hi,
the original http-Server has a Watchdog.
When you kill http the the Watchdog restart the http-Server.
Is it possible to use this Watchdog for a second thttp-Server and for Samba2?
Thank.
look at the ensure-proc here: http://wl500g.info/showpost.php?p=16351&postcount=1
Hi,
Do you mean this: ?
Quelle: http://www.tildeslash.com/monit/
Is this the Original Watchdog?Code:monit is a utility for managing and monitoring, processes, files, directories and devices on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.
Or must I install this with ipkg, for example monit.ipkg?
Sorry, i dont understand.PHP Code:
ipkg list | grep monit
arpwatch - 2.1a15-1 - The ethernet monitor program; for keeping track of ethernet/ip address pairings.
atop - 1.21-1 - A better top with history monitoring
ctcs - 1.4-9 - CTorrent Control Server (CTCS) is an interface for monitoring and managing Enhanced CTorrent clients
monit - 4.10.1-1 - monit is a utility for managing and monitoring, processes, files, directories and devices on a UNIX system. monit conducts auto
nagios-plugins - 1.4.2-4 - The nagios (network monitor system) plugins
nload - 0.6.0-2 - Nload is a console application which monitors network traffic and bandwidth usage in real time
ntop - 3.3-3 - Network monitoring software
smartmontools - 5.37-1 - Utility programs to control and monitor (SMART) built into most modern ATA and SCSI hard disks.
vnstat - 1.6-1 - Network traffic monitor with log
What should I do?
Thanks.
Last edited by WLAN-Fan; 26-01-2008 at 13:25.
look at: http://wl500g.info/showpost.php?p=79712&postcount=2
As you can see, it's simple to add a watchdog and/or autostart for any process.
Look at this... http://wl500g.info/showthread.php?t=2772
Hi,
it is possible to use the original Watchdog?
Because i have Porblems with cron.
Cron is on my system a CPU-Killer at the Moment.
Thanks.
Are you kidding?
Cron is running on your system and uses 0.0 % of your cpu!
Just input a new entry to your crontab and call your cript as stated here http://wl500g.info/showpost.php?p=79712&postcount=2
Did you know, that you can call your process every second?
The big advantage of this solution is the fact, that you can add every process to your watchdog.
Maybe there is an other reason, why you do not want to use cron, but then please let us know.
Further, as I can see, your cron process doesn't use much of your cpu, disable all other sripts which are started or watched by cron. Maybe there is a fault.
Hi,
No, it is not al the time on a day.
This have a found by "find | grep watchdog":
does it help to use the original watchdog for use with own programes?Code:find | grep watchdog ./sbin/watchdog ./tmp/var/run/watchdog.pid ./opt/include/asm-sparc64/watchdog.h ./opt/include/linux/watchdog.h ./proc/7/fd: No such file or directory
By.
no, it will not help.
To use original watchdog you should take its source, implement what you want, and compile. So better forget it.
why... It's a rethorical question. Because it is done in such way, because it is intended to do only what it is intended to do, etc. Moreover, watchdog is not a separate binary, but a part of asus's rc binary. It's a good piece of shit, trust me.