TimeZone in Grafana mit InfluxDB Backend

Grundsätzlich kann man bei Grafana die Zeitzone in dem jeweiligen Dashboard einstellen. Das ändert aber nur den Zeitsrahl in der dargestellten Grafik passend zu der aktuellen/tatsächlich erwünschten Zeit Zone.

Arbeitet man jedoch mit “GROUP BY” “time()” Funktion der InfluxDB-Query und nimmt zum beispiel “1d” (1Tag), dann werden diese zwischen jeweils … Continue reading

NetApp Monitoring Account

useradmin role add monitoring -a api-clock-get-clock,api-disk-list-info,api-snapshot-list-info,api-snapmirror-get-status,login-http-admin,api-volume-list-info,api-perf-object-get-instances,api-aggr-space-list-info,api-aggr-list-info,api-perf-object-get-instances-iter-start,api-perf-object-get-instances-iter-end,api-perf-object-get-instances-iter-next,api-snapshot-get-schedule

useradmin group add monitoring-group -r monitoring -c “Group for monitoring-api”

useradmin user add monitoring -g monitoring-group

source : http://wiki.krogloth.de/wiki/NetApp_7-Mode/User

Nagvis on Nagios with MKLivestatus

download mk-livestatus
wget http://mathias-kettner.de/download/mk-livestatus-1.1.10p3.tar.gz
tar xzf mk-livestatus-1.1.10p3.tar.gz
cd mk-livestatus-1.1.10p3
yum install gcc-c++
./configure
make -j 8
make install
add in /usr/local/nagios/etc/nagios.cfg

“broker_module=/usr/local/lib/mk-livestatus/livestatus.o /usr/local/nagios/var/rw/live”

set this Option in /usr/local/nagios/etc/nagios.cfg
“event_broker_options=-1”

MK-Livestatus is ready to use!

Donwload NagVis

wget nagvis-1.5.10.tar.gz
tar … Continue reading

Nagiosgraph for Nagios3 on CentOS 5.6

1. cd ~/downloads/ 2. download nagisgraph-*.tar.gz 3. tar xzf nagiosgraph-*.tar.gz 4. cd nagiosgraph-*/ 5. ./install.pl --check-prereq 6. yum install perl-rrdtool perl-GD 7. ./install.pl with follow settings: configuration: ng_layout standalone ng_prefix /usr/local/nagiosgraph ng_etc_dir /usr/local/nagiosgraph/etc ng_bin_dir /usr/local/nagiosgraph/bin ng_cgi_dir /usr/local/nagiosgraph/cgi ng_doc_dir /usr/local/nagiosgraph/doc ng_examples_dir /usr/local/nagiosgraph/examples ng_www_dir /usr/local/nagiosgraph/share ng_util_dir /usr/local/nagiosgraph/util ng_var_dir /usr/local/nagiosgraph/var ng_rrd_dir /usr/local/nagiosgraph/var/rrd ng_log_dir  …  Continue reading 

Nconf for Nagios on CentOS 5.6

1. yum install perl-M*
2. yum install php53-mysql php53-ldap
3. vim /etc/php.ini
set follow entrys to:
short_open_tag = On
register_globals = Off
magic_quotes_gpc = Off
4. cd /var/www/html
5. wget nconf-*.tar.gz
6. tar xzf nconf-*.tar.gz
7. mv nconf-*/ nconf/
Continue reading

check_esx.pl unter Nagios Installieren

1. download and place the check_esx.pl or check_esx3.pl in to /usr/local/nagios/libexec/
2. download and install VMware SDK API
3. install perl-Models with “yum install perl-M*”
4. run “cpan install Nagios::Plugin” or “perl -MCPAN -e ‘install Nagios::Plugin’”
5. “cd /usr/local/nagios/libexec/”
6. “su nagios”
7. “./check_esx.pl … Continue reading