Posts Tagged ‘graph’

Troubleshooting Centreon Graphs

May 6th, 2011 3 comments


service-perfdata file exist in Nagios “var” directory ( /var/local/nagios/
# ll /usr/local/nagios/var/service-perfdata
To find out where is inside centreon: Configuration>Nagios>Centreon>Central>”Perfdata file”

Read more…

Monitor Varnish with Nagios

August 5th, 2010 No comments

Varnish is an amazing reverse proxy product and it does its
job very well, but how can we know that? Or even better
how can we know it detected problems in the backed?

Read more…

IIS request

May 6th, 2010 No comments

I found this really interesting diagram about how the IIS works. Also the HTTP error codes witch was very helpfull to debug problems.

Read more…

Categories: HowTo, Windows Tags: , , , , , , ,

Centreon Reporting shows states as “undetermined”

July 27th, 2009 3 comments

Centreon Reporting shows states as “undetermined”

The hosts and services are correctly monitored in the “Monitoring” module but in the “Reporting” module all states are shown as undetermined.
To get straight to the point: it is most likely, that a single setting is not configured correctly in the ndomod.cfg:
In the Centreon 2.0 webinterface go to
Configuration > Centreon > ndomod.cfg > Principal Poller
Now have a look at “Data processing options”. If it is set to “-1” nothing will be written to the database. In order to get it working you need to enter the correct value. Use “67108863” if “everything” should be written to the database. The German company Consol offers a free online calculator for the data_processing_options-setting.
If changing this value doesn’t fix your problem you need to check that your installation meets the following requirements:

1. Nagios is installed (preferably built from source!)
2. NDOUtils is installed
3. The NDO/Nagios database has been created and is accessible by the nagios db user
4. The NDO-daemon (ndo2db) is running
5. The settings for database name, db user, db password, log files, socket, buffer files, etc. are configured correctly in all configuration files (i. e. the values are equal)

Read more…

Currency rate monitor script

December 10th, 2008 1 comment

Using Nagios I am able to monitor the currency conversion rate, so I can know exactly when to sell my currency and to buy my currency. I wrote a creative plugin to nagios that does just that!
Its not my best bash code, I should really rewrite in perl. But the idea is here, and it works.
Anyone wants to build a nagios just to monitor and graph currency exchange rates? I am up for it.
Usage: [–minwarn value] [–maxwarn value] [–mincrit value] [–maxcrit value] [-v|–verbose]
# bash 2.65 2.95 2.55 3.15
MONEYX OK: Value of EURO is – 3.1623
The current conversion is from Euro x Real, inside the script there is a parameter to change it.

Read more…

Mental Multiplication Trick

December 2nd, 2008 No comments

Amazing Multiplication Trick

Tip #1: Multiplying by Powers of 5

There are times in life when you just get lucky. It turns out that one of those lucky little moments occurs each and every time you need to multiply one number by another number that happens to be a power of 5. For example, let’s say you need to find 36 x 5 (which, of course, fits the bill since 5 is the first power of 5). The trick is to recognize the fact that 5 = 10 / 2. Why is that helpful? Because it means that we can find 36 x 5 by instead finding 36 x 10 (which is easy) and then dividing the result by 2. In this case, 36 x 10 = 360, and 360 / 2 = 180. Impressively speedy, right?

Read more…

Categories: News Tags: , , , , , ,