06/29/09

Permalink 10:53:55 pm, by novecento Email , 183 words, 21 views   English (US)
Categories: News

Create Nagios Icons (on a debian system)

1. Install the following package:

apt-get install netpbm

2. Create your converter file:

pathtoconverter="/usr/bin"

for arg
do
if [ -f "$arg" ]; then
echo converting $arg
arg="$(echo $arg | sed 's/\.gif$//')"
$pathtoconverter/giftopnm $arg.gif > $arg.pnm
$pathtoconverter/pnmtopng -transparent rgb:ff/ff/ff $arg.pnm > $arg.png
$pathtoconverter/pnmtojpeg -quality=100 -optimize -smooth=0 $arg.pnm > $arg.jpg
$pathtoconverter/pngtogd2 $arg.png $arg.gd2 0 1
fi
done

rm -f *.pnm

3. Make your converter script executable.
chmod +x yourconverterscript.sh

4. Copy the .gif file into the same directory as your converter script.
The .gif should be 40*40 pixel in size. The white background (FFFFFF) will be converted
to transparent during the process.

5. Convert your .gif file.
./yourconverterscript.sh yourgif.gif

The scrip will generate following files for you:

.gd2
.png
.jpg

6. Copy the images into the correct Nagios directory
cp yourgif.* /usr/local/nagios/share/images/logos/

7. Use them in your host.cfg files

define host{
use elastix-server
host_name elastix-server
alias Aterisk(Elastix) Lab server
address 108.104.10.202
icon_image elastix.png
icon_image_alt Elastix
vrml_image elastix.png
statusmap_image elastix.gd2
}

Hope that helps.

Cheers
Daniel

06/10/09

Permalink 04:35:25 pm, by novecento Email , 49 words, 29 views   English (US)
Categories: News

Exciting week ahead - CommunicAsia 2009 and Asterconference

Come and join us at the Communicasia 2009 and Asterconference next week in Singapore at the
Asterisk-Pavillion:


www.communicasia.com


www.asterconference.com

I'm looking forward to meet all our Asterisk friends again and finally welcome Mark Warren (CEO of Redfone) in SG and Malaysia... the BBQ is ready...

Daniel

Permalink 04:13:42 pm, by novecento Email , 69 words, 28 views   English (US)
Categories: News, NAGIOS

Nagios - SNMP Plugin in Python

Good Morning!

I wrote a small flexible Python SNMP plugin for Nagios which you can easily change for your needs.
It monitors HP SAN-Switches but you can just change the OID and use for your own SNMP needs and parse
the result sets according to your requirements.

The plugin returns performance data for graphing and monitors things like temperatures, fan, power supply.

Download-Plugin: check_hp_sanswitch.py

Cheers
Daniel

06/05/09

Permalink 05:04:19 pm, by novecento Email , 44 words, 28 views   English (US)
Categories: Asterisk

OSCONF - 2009 Pictures and our presentation slide

We had a good time at the Open Source Conference in Malaysia. Here are some pictures
(and yes Digium should sponsor us next time.... :-) )

Here the presentation slide of our speech at the OSCONF: osconf.odp

Wish you all a great weekend

Cheers
Daniel

05/27/09

Permalink 06:07:45 am, by novecento Email , 46 words, 34 views   English (US)
Categories: News

Intuit - We did it !

Intuit is official a MSC-Status company! We continue our journey and are well on the way to be a public listed company in the near future (we give us 2-3 years) smile.

Thanks to all of you guys, especially Frank with his patience for documents!

Cheers
Dnaiel

:: Next Page >>

daniel
www.intuitinnovations.com

Daniel's Intuit Blog - pulse of Asterisk & Nagios

daniel

You can reach me via:

MSM:dkraehenbuehl@hotmail.com E-mail: daniel@intuitinnovations.com

| Next >

July 2009
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Search

Misc

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 1

powered by b2evolution free blog software