Linux Tutorials on the topic “monitoring”

  • Deny Or Allow Countries With Apache .htaccess

    Author: marchostTags: , , , Comments: 0

    Deny Or Allow Countries With Apache .htaccess The following script is using blogama.org IP geolocation API to automatically generate Apache .htaccess file to deny or allow specific countries. You can put this script under crontab and the .htaccess rules will be automatically updated. Also, it can update multiple .htaccess files.

  • Simple Bash Script To Monitor Your Webserver Remotely On Different Ports

    Author: marchostTags: , , Comments: 2

    Simple Bash Script To Monitor Your Webserver Remotely On Different Ports Simple bash script to monitor a webserver on different ports (here smtp, dns, http & https but it can be customized); I'm sure there are over 100 available programs doing this but I wanted something with small memory usage. Also, I only wanted to be notified once, notifications are received by SMS on my cell. With the software I was using before, I was getting notified every minute until I could reach a computer and fix the problem or stop monitoring which was quite annoying.

  • Server Monitoring With munin And monit On CentOS 5.2

    centos Author: Falko TimmeTags: , Comments: 11

    Server Monitoring With munin And monit On CentOS 5.2 In this article I will describe how you can monitor your CentOS 5.2 server with munin and monit. munin produces nifty little graphics about nearly every aspect of your server (load average, memory usage, CPU usage, MySQL throughput, eth0 traffic, etc.) without much configuration, whereas monit checks the availability of services like Apache, MySQL, Postfix and takes the appropriate action such as a restart if it finds a service is not behaving as expected. The combination of the two gives you full monitoring: graphics that lets you recognize current or upcoming problems (like "We need a bigger server soon, our load average is increasing rapidly."), and a watchdog that ensures the availability of the monitored services.

  • How To Make monit Send SMS Alerts When Your Server Goes Down

    Author: Falko TimmeTags: , Comments: 9

    How To Make monit Send SMS Alerts When Your Server Goes Down This tutorial explains how you can configure monit to send alert messages per SMS to your mobile phone when a service fails. Because monit can send only emails but not SMS, we will use an email-to-sms gateway where monit will send its emails to, and the email-to-sms gateway will convert the emails to SMS messages.

  • Monitoring UPS Power Status Using Network UPS Tools (NUT) 2.2.0 on Multiple OpenSuSE 10.3 Servers

    Author: kianTags: , , Comments: 2

    Monitoring UPS Power Status Using Network UPS Tools (NUT) 2.2.0 on Multiple OpenSuSE 10.3 Servers Network UPS Tools is a collection of programs which provide a common interface for monitoring and administering UPS hardware. The primary goal of the Network UPS Tools (NUT) project is to provide reliable monitoring of UPS hardware and ensure safe shutdowns of the systems which are connected. This document describes how to configure one machine connected to the UPS so it monitors the power status. This can relay alerts to other machines that are running off the same power line. This way, multiple servers can perform a safe shutdown in case of power failure.

  • Monitoring With Groundwork Open Source On CentOS 5.1

    Author: shakey_1Tags: , Comments: 4

    Monitoring With Groundwork Open Source On CentOS 5.1 Nagios is (in my opinion) one of the finest availability and monitoring solutions available. The stability, extendability and cost effectiveness (it is free under the GPL), are second to none (again, my opinion). That being said, it is far from being the easiest monitoring solution to implement. The build process itself, while not being overly complicated, can be vexing to new Linux users. That doesn't even include the configuration, which sometimes still makes me cringe.

  • How To Extract Values From top And Plot Them

    Author: shuaibzahdaTags: , Comments: 16

    How To Extract Values From top And Plot Them Many researchers who are doing performance evaluation and benchmarking need to capture the values of the CPU and the RAM. Others might need to capture the throughput as well. In this short tutorial I will show how I capture the CPU and RAM values from “top” and then extract them in one line command.

  • Monitoring Multiple Systems With munin (Debian Etch)

    Author: Falko TimmeTags: , Comments: 4

    Monitoring Multiple Systems With munin (Debian Etch) In this article I will describe how you can monitor multiple systems with munin. munin produces nifty little graphics about nearly every aspect of your server (load average, memory usage, CPU usage, MySQL throughput, eth0 traffic, etc.) without much configuration. I will install the munin client on all systems that are to be monitored (including the munin server itself); the munin clients will then report to the munin server.

  • Server Monitoring With munin And monit On Mandriva 2008.0

    mandriva Author: Falko TimmeTags: , Comments: 0

    Server Monitoring With munin And monit On Mandriva 2008.0 In this article I will describe how you can monitor your Mandriva 2008.0 server with munin and monit. munin produces nifty little graphics about nearly every aspect of your server (load average, memory usage, CPU usage, MySQL throughput, eth0 traffic, etc.) without much configuration, whereas monit checks the availability of services like Apache, MySQL, Postfix and takes the appropriate action such as a restart if it finds a service is not behaving as expected. The combination of the two gives you full monitoring: graphics that lets you recognize current or upcoming problems (like "We need a bigger server soon, our load average is increasing rapidly."), and a watchdog that ensures the availability of the monitored services.

  • Zabbix 1.4.4 From Source On Debian Etch

    Author: cmdlnTags: , Comments: 4

    Zabbix 1.4.4 From Source On Debian Etch Originally posted on Zabbix 1.4.4 from source on Debian Etch. This guide will walk you through installing Zabbix 1.4.4 from source on Debian Etch. 1.4.4 has many improvements over what is currently available in apt, and it's not hard so you might as well do it this way. *Note: this walkthrough assumes that you will be running the zabbix database on the same machine as the frontend. You dont have to obviously, just do the mysql setup on whatever db server you are using and point the necessary things to it.