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

Erweitern eines PV on VMware + Swap LV

1. expand on vmware the HDD Size

2. maybe restart the virtual machine
or run following command
echo „- – -“ > /sys/class/scsi_host/host0/scan

3. fdisk -l
fdisk /dev/sda

-l

Device          Boot      Start         End      Blocks             Id   System
/dev/sda1   *                1                 65      522081          83  Linux
/dev/sda2               … Continue reading

VMware Guest Time Synchronization on Linux Based Systems

first on edit your boot.conf:

default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Fedora Core (2.6.17-1.2187_FC5) root (hd0,0) kernel /vmlinuz-2.6.17-1.2187_FC5 ro root=/dev/VolGroup00/LogVol00 clock=pit nosmp noapic nolapic initrd /initrd-2.6.17-1.2187_FC5.img

then check the configuration on VMware tools to time synchronization Vcenter or direct on vmx file from Virtual Machine

tools.syncTime = "TRUE"

on 64bit Systems … Continue reading