Bekijk de volledige versie : Watchdog for thttp + Samba2
WLAN-Fan
26-01-2008, 09:25
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.
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.
Monit? ;)
look at the ensure-proc here: http://wl500g.info/showpost.php?p=16351&postcount=1
WLAN-Fan
26-01-2008, 13:14
Hi,
Monit? ;)
Do you mean this: ?
Quelle: http://www.tildeslash.com/monit/
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.
Is this the Original Watchdog?
Or must I install this with ipkg, for example monit.ipkg?
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
look at the ensure-proc here: http://wl500g.info/showpost.php?p=16351&postcount=1
Sorry, i dont understand.
What should I do?
Thanks.
newbiefan
27-01-2008, 07:49
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.
Tamadite
01-02-2008, 17:55
Look at this... http://wl500g.info/showthread.php?t=2772
WLAN-Fan
02-02-2008, 15:18
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.
newbiefan
03-02-2008, 14:52
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.
WLAN-Fan
04-02-2008, 17:30
Hi,
Are you kidding?
Cron is running on your system and uses 0.0 % of your cpu!
No, it is not al the time on a day.
This have a found by "find | grep watchdog":
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
does it help to use the original watchdog for use with own programes?
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.
WLAN-Fan
04-02-2008, 20:41
Hi,
no, it will not help.
To use original watchdog you should take its source, implement what you want, and compile. So better forget it.
Ok, why is the configuration in the watchdogbinary and not in an watchdog.conf?
By.
why... :D 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. :)