Current time: 11-26-2024, 04:21 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Monitoring Script
Author Message
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #9
RE: Monitoring Script
naja lässt sich ja auch einfach mit einem Shell script lösen:

Code:
#!/bin/sh

echo -n "Webserver: "
netstat -tlnpe | grep ":80" > /dev/null 2>&1
if [ "$?" -eq 0 ]; then
        echo "up"
else
        echo "down"
fi

exit 0

so als idee...
01-24-2010 09:42 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Monitoring Script - Lucan - 01-24-2010, 06:22 AM
RE: Monitoring Script - nolimithosting - 01-24-2010, 07:18 AM
RE: Monitoring Script - rbtux - 01-24-2010, 07:24 AM
RE: Monitoring Script - Lucan - 01-24-2010, 07:42 AM
RE: Monitoring Script - nolimithosting - 01-24-2010, 07:55 AM
RE: Monitoring Script - Lucan - 01-24-2010, 08:00 AM
RE: Monitoring Script - nolimithosting - 01-24-2010, 08:38 AM
RE: Monitoring Script - Lucan - 01-24-2010, 08:43 AM
RE: Monitoring Script - rbtux - 01-24-2010 09:42 AM
RE: Monitoring Script - Lucan - 01-24-2010, 10:33 AM
RE: Monitoring Script - nolimithosting - 01-24-2010, 11:21 AM
RE: Monitoring Script - Lucan - 01-24-2010, 12:31 PM
RE: Monitoring Script - nolimithosting - 01-24-2010, 12:35 PM
RE: Monitoring Script - fragger - 01-24-2010, 02:55 PM
RE: Monitoring Script - Lucan - 01-24-2010, 08:08 PM
RE: Monitoring Script - rbtux - 01-24-2010, 09:20 PM
RE: Monitoring Script - nolimithosting - 01-25-2010, 12:13 AM
RE: Monitoring Script - Lucan - 01-25-2010, 12:29 AM
RE: Monitoring Script - nolimithosting - 01-25-2010, 12:31 AM
RE: Monitoring Script - Sven3004 - 01-25-2010, 04:51 AM

Forum Jump:


User(s) browsing this thread: 3 Guest(s)