You are currently browsing the Linux category

Monitor Windows Performance Counters with Icinga or Nagios

June 6, 2010 - 12:08 am

Icinga or Nagios can be easily used to monitor Windows Performance Counters. This is quite useful, because the most “monitor-relevant” information from Windows Systems is available through Performance Counters.

So, let’s start.

First we’ll do the Windows-Part.

Grab a copy of NSClient++ (Thanks a lot to Michael Medin for his great work on this AddOn) at http://nsclient.org/nscp/

I…

Monitor Windows Performance Counters with Icinga or Nagios - continue reading

Comment on Monitor Windows Performance Counters with Icinga or Nagios

Internet Speed Test

April 5, 2010 - 12:36 am

Internet Speed Test to test your available bandwidth. Flash-Based or also with a simple file download, so you can also test it with wget or lynx or any other console-based tool.

Internet Speed Test - continue reading

6 Comments on Internet Speed Test

Nabaztag tells you your Nagios/Icinga status

February 15, 2010 - 4:23 am

I thought it’s a good idea to use Nabaztag also for a regular status message about the host and service state.
Based on my other script notify-by-nabaztag.php (see this post)  i’ve wrote another little PHP-Script which gets the Nagios/Icinga Status from the nagiostats/icingastats utility and use my notify-by-nabaztag.php to send out a status message. Here it…

Nabaztag tells you your Nagios/Icinga status - continue reading

1 Comment on Nabaztag tells you your Nagios/Icinga status

Nagios/Icinga meets Nabaztag

February 15, 2010 - 1:25 am

Since i have my Nabaztag-Bunny i ever wanted to use it for my Icinga notifications. I’ve found a perl script on the internet. But that one just sent out a message and not used LED flashing or ear movements also provided by the Nabaztag-API.

So I’ve wrote my own notification script in PHP. You can download it…

Nagios/Icinga meets Nabaztag - continue reading

4 Comments on Nagios/Icinga meets Nabaztag

Automatic SSH logon

July 1, 2009 - 1:51 am

Host1:

ssh-keygen
No PassPhrase (so automatic logon works)
Default filename and path is ok
cat ~/.ssh/id_rsa.pub
Copy content of id_rsa.pub

 
Host2:

Create ~/.ssh
Create ~/.ssh/authorized_keys
Paste content of clipboard into authorized_keys

 
Both steps vice vera
 
At the first logon a warning appears that the hostkey is added
to know_hosts. Yes to proceed.
 
That’s it

Automatic SSH logon - continue reading

Comment on Automatic SSH logon

Find and delete files with specific content

July 1, 2009 - 1:49 am

Ever wanted to deleted (or move, copy, what else) all files in a directory? It’s quite easy:
egrep -l NEEDLE * | xargs rm
This command will find all files with NEEDLE in it, pipes the filename (that’s because we need the parameter L) to xargs which then use the STDIN (our filename) and put’s it to rm.
Just play…

Find and delete files with specific content - continue reading

Comment on Find and delete files with specific content

Tags:

Top