monitering servers in linux


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers monitering servers in linux
# 1  
Old 07-20-2003
monitering servers in linux

how can i moniter the servers (e.g FTP, NNTP, APACHE) in linux.
# 2  
Old 07-20-2003
well one way is to install a program called 'webmin' www.webmin.com, it has monitering features.

another way would be to write a simple script for the services you want to check. ie: have script run ftp yourserver
store the output and check for the status number, login is 220 i think.

there are numerous other ways to do this i am sure.
# 3  
Old 07-20-2003
well i had a few minutes to spare, here is an extremely simple bash script that will test to see if ftp is running on my ftp server. please keep in mind that ive never written a bash script before i only have very basic knowledge in c++.

i am actually going to expand this script to check for my other services, http ssh smtp and pop3.

again this is short and if you wanted you could use this to base off of.

Code:
script removed, it dosnt work .... haha oh well.


Last edited by norsk hedensk; 07-20-2003 at 07:51 PM..
# 4  
Old 07-21-2003
You want Nagios, which you may recognise as Netsaint - as it used to be known.

It seems to fit your bill, so give it a look.
# 5  
Old 07-21-2003
thanks! there just what i need!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script to locating Linux servers

All, Need an urgent help! , I have an simple text file that holding more than 500 IP Address, My requirement : bash script that will run from my central server , and will scan with nmap all the 500 ip address , for ssh port with . for example with the command : nmap -sT | grep '22.*open' ... (1 Reply)
Discussion started by: James Stone
1 Replies

2. Linux

How to check CFG2HTML for Linux servers?

Hi, Could someone please let me know how to How to check CFG2HTML for Linux servers? I am new for OS end. Thanks, Vivek. (4 Replies)
Discussion started by: Viv_kadam
4 Replies

3. UNIX for Dummies Questions & Answers

SSH into multiple linux servers

Hi All, Okay, I need help. I need to ssh in to multiple linux servers execute certain commands and get them to email and print on the screen when the script is being executed. So below is my script. Its not working :-(. #!/bin/bash #linux/UNIX box with ssh key based login... (7 Replies)
Discussion started by: xytiz
7 Replies

4. Linux

Few Questions on about Linux Servers.

1.On x86 Machines ( Pentium4 ), What is the maximum number of Services( sshd, ntpd,named ,samba, etc.) that can be installed.? Is there a rule of thumb to attain the best possible performence.? 2. Is there a systematic way to boot a remote Machine.? 3. Are there any problems of having two... (2 Replies)
Discussion started by: kanata
2 Replies

5. UNIX for Dummies Questions & Answers

DST did not take effect on 3 Linux servers

RHEL AS 3 running on x86 hardware. That have been patched for DST but did not change a few weeks back when time changed over. Explanation of the issue from another party. The servers in questions maintain their TOY clock local time instead of UTC. As by defined functionality It prevents NTP... (1 Reply)
Discussion started by: Steelysteel
1 Replies

6. UNIX for Dummies Questions & Answers

Updating Software on Linux Servers

If I want to install a newer version of a software that comes with the linux distribution (like python for example), can I do it or only the system admin can? I don't have root access. Thanks! R (1 Reply)
Discussion started by: Rachel Ross
1 Replies

7. Solaris

Monitering Other Termial

Dear Jems, Is it possible as a admin what commands are excuting in other terminal. Example:if the who cmd output is like these Can i watch online means at presently what commands are executing in the terminal "pts/7"/ (172.17.17.87) and result of the command. root console Oct 13... (3 Replies)
Discussion started by: salaathi
3 Replies

8. What is on Your Mind?

Microsoft servers Vs. Unix/Linux

What you have to say about the following comparison: Compare (2 Replies)
Discussion started by: tayyabq8
2 Replies

9. Gentoo

What do you use on your linux servers?

What do you use on your linux servers? What distributions? (10 Replies)
Discussion started by: DCrystal
10 Replies

10. Cybersecurity

Who uses Antivirus software on your linux servers?

So who uses antivirus software on your linux servers? A co-worker and myself have been debating on the need or lack there of for antivirus on a linux webserver running Apache even if that's the only service that may be running. He thinks no and I am of the opinion that it is needed. My rational... (1 Reply)
Discussion started by: jjvaas
1 Replies
Login or Register to Ask a Question