Saturday, December 1, 2007

Nagios Monitoring [ kawe panggil NAGO ]

#Yum -y install nagios nagios-plugins
atau buat laaa macammanapun... janji dapat install..
http://www.nagios.org

beres?


Configuration
-------------

edit /etc/httpd/httpd.conf

masukkan teks ni di bawah VirtualHost kita

############ HIDUP NAGO!! ###################

ScriptAlias /nagios/cgi-bin/ "/usr/lib/nagios/cgi/"


Options ExecCGI
AllowOverride None
Order allow,deny
#Allow from 127.0.0.1 192.168.0.128/255.255.255.128
Allow from all
AuthName "Mynux Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios/htpasswd.users
Require valid-user



Alias /nagios/ "/usr/share/nagios/"


Options None
AllowOverride None
Order allow,deny
#Allow from 127.0.0.1 192.168.0.128/255.255.255.128
Allow from all
AuthName "Mynux Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios/htpasswd.users
Require valid-user



############ TAMAT HIDUP NAGO!! ###################

save dan exit

#htpasswd -c /etc/nagios/htpasswd.users nago nagoapi123

ok.. masuk dah user nago ( sebagai admin ) dan password nagoapi123

lepas tu edit /etc/nagios/cgi.cfg dan pastikan semua authorized_for_xxxxx=nago
contoh:

authorized_for_system_information=nago
authorized_for_configuration_information=nago
.....
....
....


dan seterusnya... save dan exit

selebihnya biar dulu.. semua configuration dalam /etc/nagios

ok sekarang ni...

#/etc/init.d/httpd restart
#/etc/init.d/nagios restart

ok browse ke http://localhost/nagios

username nago
password nagoapi123


MASALAH!!

tak dapat view 3-D Status MAP.. asyik keluar suh pi download statuswrl aje... maksudnya.. hang punye browser tak support lagi vrml.. install leer

download di


http://www.parallelgraphics.com/products/cortona/download ( ie x jd laa.. emm... firefox ok )
http://cic.nist.gov/vrml/vbdetect.html
http://cic.nist.gov/vrml/cosmo/CosmoPlayer.zip <-- ni ok utk msie dan firefox
http://www.octaga.com/freedownloads/OctagaPlayer/current/setup.exe <-- ni ok utk msie dan firefox

No comments:

 Simple Python Calculator This script will allows your to calculate the integers given with the chosen operation. You can add, substract, mu...