![]() |
YAIM, NAGIOS and NCG Tutorial Outline |
![]() |
![]() |
|
![]() ![]() ![]() ![]() |
NAGIOS, NCG and YAIM tutorial, EGEE 08, Instanbul. Slide 1 of 23 | Steve Traylen steve.traylen@cernNOSPAMPLEASE.ch |
![]() |
Introduction |
![]() |
![]() |
|
![]() ![]() ![]() ![]() |
NAGIOS, NCG and YAIM tutorial, EGEE 08, Instanbul. Slide 2 of 23 | Steve Traylen steve.traylen@cernNOSPAMPLEASE.ch |
![]() |
Repository Information |
![]() |
![]() |
[egee-SA1] name=EGEE SA1 software baseurl=http://www.sysadmin.hep.ac.uk/rpms/egee-SA1/sl4/$basearch/ enabled=1 [egee-SA1 SRPMS] name=EGEE SA1 SRPMS baseurl=http://www.sysadmin.hep.ac.uk/rpms/egee-SA1/sl4/SRPMS/ enabled=1
|
![]() ![]() ![]() ![]() |
NAGIOS, NCG and YAIM tutorial, EGEE 08, Instanbul. Slide 3 of 23 | Steve Traylen steve.traylen@cernNOSPAMPLEASE.ch |
![]() |
Recap of Native, Remote and Local Probes. |
![]() |
![]() |
|
![]() ![]() ![]() ![]() |
NAGIOS, NCG and YAIM tutorial, EGEE 08, Instanbul. Slide 4 of 23 | Steve Traylen steve.traylen@cernNOSPAMPLEASE.ch |
![]() |
NAGIOS Host with Remote and Native Probes. |
![]() |
![]() |
|
![]() ![]() ![]() ![]() |
NAGIOS, NCG and YAIM tutorial, EGEE 08, Instanbul. Slide 5 of 23 | Steve Traylen steve.traylen@cernNOSPAMPLEASE.ch |
nagios
httpd
mod_ssl
For X509 authentication.
nagios-plugins
msg-nagios-bridge
Sends nagios notifications out to the wider grid.
yaim
voms2htpasswd
Maintains a htpasswd file of DN from VOMS servers who have access.
fetch-crl
Maintain CRLs for apache.
grid-monitoring-*
WLCG Monitoring Probes
nagios-proxy-refresh
Refreshes grid-proxies though not enabled in this non "local" test version.
![]() |
YAIM Configuration for NAGIOS Host with Remote and Native Probes. |
![]() |
![]() |
|
![]() ![]() ![]() ![]() |
NAGIOS, NCG and YAIM tutorial, EGEE 08, Instanbul. Slide 6 of 23 | Steve Traylen steve.traylen@cernNOSPAMPLEASE.ch |
egee-NAGIOS
target configures NCG, Nagios and apache creating or editing the following files. /etc/nagios/nagios.cfg
Used by NAGIOS Warning this file is always overwritten which is most likely wrong_
/etc/ncg/ncg.conf
Main NCG configuration file. Always overwritten.
/etc/httpd/conf.d/ssl.conf
Overwritten if enabled. Sets up X509 client certificate authentication.
/etc/httpd/conf.d/nagios.conf
Overwritten if enabled. Sets up X509 client certificate authentication.
/etc/voms2htpasswd.conf
/etc/nagios/cgi.conf
This is edited by YAIM settings '*' for read operations and so uses apache's FakeBasicAuth. Write privileges are populated with the admin DNs above.
![]() |
Live Demo for NAGIOS Host with Remote and Native Probes. |
![]() |
![]() |
![]() |
![]() ![]() ![]() ![]() |
NAGIOS, NCG and YAIM tutorial, EGEE 08, Instanbul. Slide 7 of 23 | Steve Traylen steve.traylen@cernNOSPAMPLEASE.ch |
![]() |
Live Demo Results for NAGIOS Host with Remote and Native Probes |
![]() |
![]() |
![]() |
![]() ![]() ![]() ![]() |
NAGIOS, NCG and YAIM tutorial, EGEE 08, Instanbul. Slide 8 of 23 | Steve Traylen steve.traylen@cernNOSPAMPLEASE.ch |
![]() |
HowTo Get Results for Multiple Sites. |
![]() |
![]() |
|
![]() ![]() ![]() ![]() |
NAGIOS, NCG and YAIM tutorial, EGEE 08, Instanbul. Slide 9 of 23 | Steve Traylen steve.traylen@cernNOSPAMPLEASE.ch |
$ ldapsearch -x -H ldap://lcg-bdii.cern.ch:2170 -b 'Mds-vo-name=local,o=Grid' \ '(GlueSiteOtherInfo=EGEE_ROC=ITALY)' GlueSiteName
![]() |
MyProxy and Proxy Retrieval to Nagios. |
![]() |
![]() |
|
![]() ![]() ![]() ![]() |
NAGIOS, NCG and YAIM tutorial, EGEE 08, Instanbul. Slide 10 of 23 | Steve Traylen steve.traylen@cernNOSPAMPLEASE.ch |
![]() |
MyProxy Configuration With YAIM. |
![]() |
![]() |
|
![]() ![]() ![]() ![]() |
NAGIOS, NCG and YAIM tutorial, EGEE 08, Instanbul. Slide 11 of 23 | Steve Traylen steve.traylen@cernNOSPAMPLEASE.ch |
myproxy-init
command uploads a proxy to myproxy.example.org
that can be retrieved for 2 weeks by the hostkey of nrpe-ui.example.ch
![]() |
Enabling Remote Probes and NRPE on a seperate glite-UI. |
![]() |
![]() |
|
![]() ![]() ![]() ![]() |
NAGIOS, NCG and YAIM tutorial, EGEE 08, Instanbul. Slide 12 of 23 | Steve Traylen steve.traylen@cernNOSPAMPLEASE.ch |
![]() |
Setting Up the UI with NRPE Service for Local Probes. |
![]() |
![]() |
|
![]() ![]() ![]() ![]() |
NAGIOS, NCG and YAIM tutorial, EGEE 08, Instanbul. Slide 13 of 23 | Steve Traylen steve.traylen@cernNOSPAMPLEASE.ch |
![]() |
Live Demo of NRPE and UI Node. |
![]() |
![]() |
![]()
|
![]() ![]() ![]() ![]() |
NAGIOS, NCG and YAIM tutorial, EGEE 08, Instanbul. Slide 14 of 23 | Steve Traylen steve.traylen@cernNOSPAMPLEASE.ch |
/etc/nagios/nrpe.cfg
is edited to /etc/nagios/nrpe
![]() |
Nagios Proxy Refresh |
![]() |
![]() |
|
![]() ![]() ![]() ![]() |
NAGIOS, NCG and YAIM tutorial, EGEE 08, Instanbul. Slide 15 of 23 | Steve Traylen steve.traylen@cernNOSPAMPLEASE.ch |
![]() |
Enabling Local Tests on the NAGIOS Node. |
![]() |
![]() |
|
![]() ![]() ![]() ![]() |
NAGIOS, NCG and YAIM tutorial, EGEE 08, Instanbul. Slide 16 of 23 | Steve Traylen steve.traylen@cernNOSPAMPLEASE.ch |
![]() |
Use of mirror-nrpe-config |
![]() |
![]() |
|
![]() ![]() ![]() ![]() |
NAGIOS, NCG and YAIM tutorial, EGEE 08, Instanbul. Slide 17 of 23 | Steve Traylen steve.traylen@cernNOSPAMPLEASE.ch |
![]() |
Live Enabling of Local Probes on NAGIOS box. |
![]() |
![]() |
![]() |
![]() ![]() ![]() ![]() |
NAGIOS, NCG and YAIM tutorial, EGEE 08, Instanbul. Slide 18 of 23 | Steve Traylen steve.traylen@cernNOSPAMPLEASE.ch |
![]() |
Diagnosing Test Failiures |
![]() |
![]() |
|
![]() ![]() ![]() ![]() |
NAGIOS, NCG and YAIM tutorial, EGEE 08, Instanbul. Slide 19 of 23 | Steve Traylen steve.traylen@cernNOSPAMPLEASE.ch |
![]() |
Customising Probes and Probe Documentation |
![]() |
![]() |
REMOVE_SERVICE!ce1.triumf.ca!org.glite.LocalLogger REMOVE_SERVICE!ce2.triumf.ca!org.glite.LocalLogger REMOVE_SERVICE!srm.triumf.ca!BDII
|
![]() ![]() ![]() ![]() |
NAGIOS, NCG and YAIM tutorial, EGEE 08, Instanbul. Slide 20 of 23 | Steve Traylen steve.traylen@cernNOSPAMPLEASE.ch |
![]() |
NAGIOS Publication to ActiveMQ |
![]() |
![]() |
|
![]() ![]() ![]() ![]() |
NAGIOS, NCG and YAIM tutorial, EGEE 08, Instanbul. Slide 21 of 23 | Steve Traylen steve.traylen@cernNOSPAMPLEASE.ch |
![]() |
Current Problems And Short Term Additions |
![]() |
![]() |
|
![]() ![]() ![]() ![]() |
NAGIOS, NCG and YAIM tutorial, EGEE 08, Instanbul. Slide 22 of 23 | Steve Traylen steve.traylen@cernNOSPAMPLEASE.ch |
![]() |
Support, Bug Reports and Contributions. |
![]() |
![]() |
|
![]() ![]() ![]() ![]() |
NAGIOS, NCG and YAIM tutorial, EGEE 08, Instanbul. Slide 23 of 23 | Steve Traylen steve.traylen@cernNOSPAMPLEASE.ch |
I | Attachment | History | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|---|
![]() |
EGEE.png | r1 | manage | 28.5 K | 2008-09-18 - 11:10 | SteveTraylen | |
![]() |
configure-remote-native-local-nagios.png | r1 | manage | 48.8 K | 2008-09-20 - 20:58 | SteveTraylen | |
![]() |
configure-remote-native-nagios.png | r1 | manage | 63.0 K | 2008-09-18 - 17:22 | SteveTraylen | configure remote and native probes. |
![]() |
nagios-tutorial.tgz | r2 r1 | manage | 1.6 K | 2008-09-22 - 11:33 | SteveTraylen | Nagios Tutorial Files. |
![]() |
results-local-native-remote.png | r1 | manage | 333.8 K | 2008-09-22 - 09:18 | SteveTraylen | Nagios Reults Local Native and Remote. |
![]() |
results-remote-native-nagios.png | r1 | manage | 277.7 K | 2008-09-20 - 15:46 | SteveTraylen | Results of remote and native only. |