Line: 1 to 1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
Nagios for WeNMR | |||||||||
Line: 14 to 14 | |||||||||
How to add quickly new WeNMR probes | |||||||||
Changed: | |||||||||
< < |
| ||||||||
> > |
| ||||||||
cat /etc/ncg/ncg-localdb.d/wenmr-custom.conf MODIFY_METRIC_PARAMETER!org.sam.CREAMCE-JobState!--add-wntar-nag!/usr/libexec/grid-monitoring/probes/wenmr/wnjob/ | |||||||||
Line: 357 to 357 | |||||||||
| |||||||||
Changed: | |||||||||
< < | -- MarcoVerlato - 2012-02-15 | ||||||||
> > | -- MarcoVerlato - 2014-02-19
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Nagios for WeNMR | ||||||||
Line: 6 to 6 | ||||||||
Access permitted for enmr.eu members only using personal certificate (authorized DNs are retrieved by /etc/cron.d/voms-htpasswd and listed in files /etc/nagios/htpasswd.users and /etc/httpd/httpd.users) | ||||||||
Changed: | ||||||||
< < | This Nagios monitors hosts belonging to ROCs/NGIs "Italy NGI_IT NGI_NL NGI_DE UKI NGI_IBERGRID ROC_IGALC NGI_FRANCE AsiaPacific" where enmr.eu probes can be done (it isn't yet available a real VO-Nagios). | |||||||
> > | This Nagios monitors hosts belonging to NGIs of Belgium, Germany, France, Italy, Spain, Portugal, Netherlands, UK, Poland, Malaysia, Taiwan, Brasil where enmr.eu probes can be executed. | |||||||
Changed: | ||||||||
< < | Also the site ZA-UJ, uncertified or not present in GOCDB, is monitored. | |||||||
> > | Sites from South Africa and OSG will be soon monitored too. | |||||||
Changed: | ||||||||
< < | Detailed documentation and instructions about Nagios could be found here | |||||||
> > | Detailed documentation about Nagios could be found here
How to add quickly new WeNMR probes
cat /etc/ncg/ncg-localdb.d/wenmr-custom.conf MODIFY_METRIC_PARAMETER!org.sam.CREAMCE-JobState!--add-wntar-nag!/usr/libexec/grid-monitoring/probes/wenmr/wnjob/ MODIFY_METRIC_PARAMETER!org.sam.CE-JobState!--add-wntar-nag!/usr/libexec/grid-monitoring/probes/wenmr/wnjob/
/opt/glite/yaim/bin/yaim -s siteinfo/site-info.def -d 6 -c -n glite-UI -n glite-NAGIOS && service nagios restart | |||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Nagios for WeNMR | ||||||||
Line: 8 to 8 | ||||||||
This Nagios monitors hosts belonging to ROCs/NGIs "Italy NGI_IT NGI_NL NGI_DE UKI NGI_IBERGRID ROC_IGALC NGI_FRANCE AsiaPacific" where enmr.eu probes can be done (it isn't yet available a real VO-Nagios). | ||||||||
Changed: | ||||||||
< < | Also the sites BCBR, ZA-UCT-ICTS, ZA-UJ, uncertified or not present in GOCDB, are monitored. | |||||||
> > | Also the site ZA-UJ, uncertified or not present in GOCDB, is monitored. | |||||||
Detailed documentation and instructions about Nagios could be found here |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Nagios for WeNMR | ||||||||
Line: 19 to 19 | ||||||||
Management instructionsFor its probes, Nagios uses Badoer's certificate, that must be renewed before it expires (it lasts one week): | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > | [badoer@grid-monitor03]# myproxy-init --voms enmr.eu:/enmr.eu/ops -k !NagiosRetrieve-grid-monitor03.pd.infn.it-enmr.eu -s prod-ui-02.pd.infn.it -l nagios -x -Z "/C=IT/O=INFN/OU=Host/L=Padova/CN=grid-monitor03.pd.infn.it" | |||||||
After a yaim reconfig, do the following instructions: | ||||||||
Line: 31 to 31 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > | cp /etc/ncg/ncg-localdb.d/uncert.conf.GOOD /etc/ncg/ncg-localdb.d/uncert.conf | |||||||
| ||||||||
Line: 39 to 39 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > | cp /etc/ncg/ncg.conf.d/uncert.conf-OK-OutOfGOCDB_sites /etc/ncg/ncg.conf.d/uncert.conf | |||||||
To add a site:
| ||||||||
Line: 75 to 75 | ||||||||
Installation Installed SL5 x86_64 | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > | service yum stop chkconfig yum off | |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > | cd /etc/yum.repos.d/ wget http://repository.egi.eu/sw/production/cas/1/current/repo-files/egi-trustanchors.repo wget http://grid-deployment.web.cern.ch/grid-deployment/glite/repos/3.X/glite-BDII.repo wget http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/dag.repo wget http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/ig.repo wget http://grid-it.cnaf.infn.it/mrepo/repos/sl5/x86_64/glite-ui.repo vi egi-sam.repo [egi-sam] name=EGI SAM repo baseurl=http://repository.egi.eu/sw/production/sam/1/$basearch enabled=1 gpgcheck=0 protect=1 priority=10 mv sl.repo sl.repo.disable mv sl-security.repo sl-security.repo.disable mv sl-fastbugs.repo sl-fastbugs.repo.disable mv sl-contrib.repo sl-contrib.repo.disable yum clean all yum install lcg-CA yum install httpd yum groupinstall ig_UI_noafs yum install yum-priorities yum remove mysql-server-5.0.77-4.el5_5.4 mysql-5.0.77-4.el5_5.4 mysql-devel-5.0.77-4.el5_5.4 [necessary because yaim configuration wants a newer version of !MySQL] | |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > | [root@grid-monitor03 ~]# cat /etc/yum.repos.d/dag.repo [dag] name=DAG rpms baseurl=http://ftp.scientificlinux.org/linux/extra/dag/redhat/el5/en/$basearch/dag/ http://ftp1.scientificlinux.org/linux/extra/dag/redhat/el5/en/$basearch/dag/ http://ftp2.scientificlinux.org/linux/extra/dag/redhat/el5/en/$basearch/dag/ ftp://ftp.scientificlinux.org/linux/extra/dag/redhat/el5/en/$basearch/dag/ enabled=1 # To use priorities you must have yum-priorities installed priority=30 [dag-extra] name=DAG extras baseurl=http://ftp.scientificlinux.org/linux/extra/dag/redhat/el5/en/$basearch/extras/ enabled=1 yum install egee-NAGIOS yum install 'perl(Class::Inspector)' [needed to let Nagios update file /etc/nagios/htpasswd.users, where authorized users are listed] | |||||||
Configuration
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > | VOS="enmr.eu" | |||||||
Changed: | ||||||||
< < |
| |||||||
> > | NAGIOS_HOST=grid-monitor03.$MY_DOMAIN NAGIOS_ADMIN_DNS="/C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Cristina Aiftimiei,/C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Sergio Traldi,/C=IT/O=INFN/OU=Personal Certificate/L=LNL/CN=Simone Badoer,/C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Marco Verlato" NCG_NAGIOS_ADMIN=simone.badoer@pd.infn.it NAGIOS_ROLE=vo NCG_PROBES_TYPE=all NCG_VO=enmr.eu NAGIOS_HTTPD_ENABLE_CONFIG=true NAGIOS_NCG_ENABLE_CONFIG=true NAGIOS_SUDO_ENABLE_CONFIG=true NAGIOS_NAGIOS_ENABLE_CONFIG=true NAGIOS_CGI_ENABLE_CONFIG=true NAGIOS_NSCA_PASS=xxx NAGIOS_NCG_ENABLE_CRON=true NCG_TOPOLOGY_USE_SAM=true NCG_TOPOLOGY_USE_GOCDB=false NCG_TOPOLOGY_USE_ENOC=false NCG_TOPOLOGY_USE_LDAP=false NCG_REMOTE_USE_SAM=false NCG_REMOTE_USE_NAGIOS=false NCG_REMOTE_USE_ENOC=false MYSQL_ADMIN="xxx" DB_PASS="xxx" MYEGI_ADMIN_NAME="Simone Badoer" MYEGI_ADMIN_EMAIL="simone.badoer@pd.infn.it" MYEGI_DEFAULT_PROFILE="ROC" NCG_MDDB_SUPPORTED_PROFILES="ROC,ROC_CRITICAL,ROC_OPERATORS" NCG_NOTIFICATION_HEADER="WeNMR Nagios" NCG_INCLUDE_EMPTY_HOSTS=0 # Found from GOCDB: NCG_GOCDB_ROC_NAME="Italy NGI_IT NGI_NL NGI_DE UKI NGI_IBERGRID ROC_IGALC" # Needed for uncertified sites: UNCERTIFIED_SITES="BCBR" UNCERTIFIED_WMS=wms-enmr.chem.uu.nl UNCERTIFIED_BDII=bdii-enmr.chem.uu.nl | |||||||
Changed: | ||||||||
< < |
| |||||||
> > | /opt/glite/yaim/bin/ig_yaim -c -d 6 -s /usr/local/nfs/3_2/ig-site-info.def.current -n ig_UI_noafs -n glite-NAGIOS 2>&1 | tee /root/conf_ig_UI_noafs__glite-NAGIOS.`hostname -s`.`date +mHS`.log | |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > | GRID_AUTHORIZED_RETRIEVERS="'/C=IT/O=INFN/OU=Host/L=Padova/CN=prod-ui-02.pd.infn.it' '/C=IT/O=INFN/OU=Host/L=Padova/CN=cert-30.pd.infn.it' '/C=IT/O=INFN/OU=Host/L=Padova/CN=grid-monitor03.pd.infn.it'" GRID_TRUSTED_RETRIEVERS="'/C=IT/O=INFN/OU=Host/L=Padova/CN=prod-ui-02.pd.infn.it' '/C=IT/O=INFN/OU=Host/L=Padova/CN=cert-30.pd.infn.it' '/C=IT/O=INFN/OU=Host/L=Padova/CN=grid-monitor03.pd.infn.it'" userdadd badoer [badoer@grid-monitor03]#myproxy-init -k !NagiosRetrieve-grid-monitor03.pd.infn.it-enmr.eu -s prod-ui-02.pd.infn.it -l nagios -x -Z "/C=IT/O=INFN/OU=Host/L=Padova/CN=grid-monitor03.pd.infn.it" | |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > | db_user=mrs db_pwd=xxx | |||||||
Information about old update 07 | ||||||||
Line: 333 to 340 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
-- MarcoVerlato - 2012-02-15 \ No newline at end of file |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Nagios for WeNMR | ||||||||
Line: 64 to 64 | ||||||||
To authorize a user whose DN isn't automatically retrieved from VOMS to /etc/nagios/htpasswd.users:
| ||||||||
Added: | ||||||||
> > | To add a custom Nagios probe see here | |||||||
Installation and configuration instructionsThis documentation was followed: VO SAM |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < | Nagios for WeNMR | |||||||
> > | Nagios for WeNMR | |||||||
Changed: | ||||||||
< < | WeNMR Nagios web page: https://grid-monitor03.pd.infn.it:50080/nagios/ | |||||||
> > | WeNMR Nagios web page: https://grid-monitor03.pd.infn.it:50080/nagios/ | |||||||
Access permitted for enmr.eu members only using personal certificate (authorized DNs are retrieved by /etc/cron.d/voms-htpasswd and listed in files /etc/nagios/htpasswd.users and /etc/httpd/httpd.users) | ||||||||
Changed: | ||||||||
< < | This Nagios monitors hosts belonging to ROCs/NGIs "Italy NGI_IT NGI_NL NGI_DE UKI NGI_IBERGRID ROC_IGALC NGI_FRANCE AsiaPacific" where enmr.eu probes can be done (it isn't yet available a real VO-Nagios). | |||||||
> > | This Nagios monitors hosts belonging to ROCs/NGIs "Italy NGI_IT NGI_NL NGI_DE UKI NGI_IBERGRID ROC_IGALC NGI_FRANCE AsiaPacific" where enmr.eu probes can be done (it isn't yet available a real VO-Nagios). | |||||||
Also the sites BCBR, ZA-UCT-ICTS, ZA-UJ, uncertified or not present in GOCDB, are monitored. | ||||||||
Line: 19 to 19 | ||||||||
Management instructionsFor its probes, Nagios uses Badoer's certificate, that must be renewed before it expires (it lasts one week): | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
After a yaim reconfig, do the following instructions: | ||||||||
Line: 27 to 27 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 35 to 35 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 46 to 46 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < | | |||||||
> > |
| |||||||
To authorize a user whose DN isn't automatically retrieved from VOMS to /etc/nagios/htpasswd.users: | ||||||||
Line: 104 to 104 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 127 to 127 | ||||||||
Configuration | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 179 to 179 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 234 to 234 | ||||||||
| ||||||||
Changed: | ||||||||
< < | "event-scheduler=1" in file ''/etc/my.cnf'' available only for MySQL > 5.1.6 (default mysql was 5.0.77) | |||||||
> > | "event-scheduler=1" in file ''/etc/my.cnf'' available only for MySQL > 5.1.6 (default mysql was 5.0.77) | |||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Added: | ||||||||
> > | Nagios for WeNMR | |||||||
Changed: | ||||||||
< < | Test | |||||||
> > | WeNMR Nagios web page: https://grid-monitor03.pd.infn.it:50080/nagios/ | |||||||
Added: | ||||||||
> > | Access permitted for enmr.eu members only using personal certificate (authorized DNs are retrieved by /etc/cron.d/voms-htpasswd and listed in files /etc/nagios/htpasswd.users and /etc/httpd/httpd.users) | |||||||
Deleted: | ||||||||
< < | -- AndreaCristofori - 2012-02-15 | |||||||
\ No newline at end of file | ||||||||
Added: | ||||||||
> > | This Nagios monitors hosts belonging to ROCs/NGIs "Italy NGI_IT NGI_NL NGI_DE UKI NGI_IBERGRID ROC_IGALC NGI_FRANCE AsiaPacific" where enmr.eu probes can be done (it isn't yet available a real VO-Nagios).
Also the sites BCBR, ZA-UCT-ICTS, ZA-UJ, uncertified or not present in GOCDB, are monitored.
Detailed documentation and instructions about Nagios could be found here
Information about latest update 09Management instructionsFor its probes, Nagios uses Badoer's certificate, that must be renewed before it expires (it lasts one week):
Installation and configuration instructionsThis documentation was followed: VO SAM Here's the steps executed on grid-monitor03.pd.infn.it. Installation Installed SL5 x86_64
Information about old update 07This Nagios monitors hosts published by Top BDII bdii-enmr.cerm.unifi.it Detailed documentation and instructions about Nagios could be found hereManagement instructionsNothing to do about published information, a cron keeps them up-to-date. After a reconfiguration
Installation and configuration instructionsInitially this documentation was followed:
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
|