zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Nagios/Icinga Traffic-Light

April 13, 2011 by Igor Drobot 6 Comments

Nagios and Icinga have a lot of notification opportunities, receive status via Mail, SMS, Twitter or maybe XMPP? Sometimes is it not easy to decide what you really need and what is better for your quick reaction.

If you have more than one monitor it is easy to overlook an important mail, or your mobile phone is in silent mode and you don’t know that you get a critical notification.

If you are a webmaster and you are working a lot with your browser – there is a solution for Mozilla Firefox with terrible wake up sounds – called Nagios Checker for Mozilla Firefox:
[Read more…]

Filed Under: Debian, DIY, Linux, Monitoring, Networking, Ubuntu Tagged With: Icinga, Icinga Traffic-Light, Monitoring, Nagios, Nagios Traffic-Light

Nginx plugins for Munin

January 24, 2011 by Igor Drobot 1 Comment

Monitoring is great! I try to monitor everything I can – each service and important cron-jobs.

Since I’m running on nginx I searched a lot around the web for munin plugins, maybe yo know this problem you found one but you get empty graph.
[Read more…]

Filed Under: Debian, Linux, Monitoring Tagged With: Monitoring, Munin, Nginx, WGET

HDD temperature

January 13, 2011 by Igor Drobot Leave a Comment

Important hardware monitoring – check HDD temperature:

Install (Debian /Ubuntu way):

1
aptitude install hddtemp

aptitude install hddtemp

Check it:

1
2
3
4
hddtemp /dev/sda1
# Output:
# /dev/sda1: ST31500341AS: 42°C
# /dev/sdb1: ST31500341AS: 38°C

hddtemp /dev/sda1 # Output: # /dev/sda1: ST31500341AS: 42°C # /dev/sdb1: ST31500341AS: 38°C

1
2
3
hddtemp -n /dev/sda1
Output:
# 42

hddtemp -n /dev/sda1 Output: # 42

Filed Under: Bash, Linux, Monitoring Tagged With: hddtemp, Monitoring

Icinga with Lighttpd

December 22, 2010 by Igor Drobot 3 Comments

Some days ago I wrote a similar post about nagios and lighty, now I decided to test Icinga on Debian Squeeze.

The installation was pretty easy:

1
2
aptitude install lighttpd
aptitude install icinga

aptitude install lighttpd aptitude install icinga

To use Icinga we need following modules:

  • mod_cgi
  • mod_auth
  • mod_setenv

[Read more…]

Filed Under: Debian, Linux, Monitoring, Ubuntu Tagged With: Debian, Icinga, Monitoring, Squeeze, Ubuntu

Create Nagios Icons

December 2, 2010 by Igor Drobot Leave a Comment

Nagios

If you ever tried to make Nagios Status-Map a little nicer by adding some dependencies and some pretty icons, you have probably came across some little collections/packs of icons at NagiosExchange.
But if you need a special one, you must do it by yourself.
And you probably noticed that you need images with .gd2 extension
Here is how to convert a PNG image into .gd2 (GD Graphics Library format)

Solution one:

1
aptitude install netpbm

aptitude install netpbm

1
pngtopnm example.png | pnmtopng -transparent =rgb:00/00/00 2>/dev/null | pngtogd2 /proc/self/fd/0 example.gd2 0 1

pngtopnm example.png | pnmtopng -transparent =rgb:00/00/00 2>/dev/null | pngtogd2 /proc/self/fd/0 example.gd2 0 1

Solution two:

1
aptitude install libgd-tools

aptitude install libgd-tools

1
pngtogd2 phone.png phone.gd2 0

pngtogd2 phone.png phone.gd2 0

Filed Under: Bash, Linux, Monitoring Tagged With: Monitoring, Nagios, Nagios convert gd2, Nagios3

  • « Previous Page
  • 1
  • 2
  • 3
Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok