Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GitHubHistory
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Anastasios Lisgaras
GitHubHistory
Commits
d0a03c06
Commit
d0a03c06
authored
Apr 11, 2016
by
Paschalis Korosoglou
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #70 from dpavlos/nagios_config
ARGO-389 Ansible configurations for unicore probes
parents
169b2b76
0661ca18
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
32 additions
and
1 deletion
+32
-1
roles/monitoring_engine/defaults/main.yml
roles/monitoring_engine/defaults/main.yml
+1
-1
roles/monitoring_engine/tasks/main.yml
roles/monitoring_engine/tasks/main.yml
+27
-0
roles/monitoring_engine/templates/ucc.config.j2
roles/monitoring_engine/templates/ucc.config.j2
+1
-0
roles/monitoring_engine/templates/unicore_jks.sh.j2
roles/monitoring_engine/templates/unicore_jks.sh.j2
+1
-0
roles/monitoring_engine/templates/unicore_ks.sh.j2
roles/monitoring_engine/templates/unicore_ks.sh.j2
+1
-0
roles/monitoring_engine/templates/unicore_ts.sh.j2
roles/monitoring_engine/templates/unicore_ts.sh.j2
+1
-0
No files found.
roles/monitoring_engine/defaults/main.yml
View file @
d0a03c06
...
...
@@ -6,7 +6,7 @@ nagios_components:
## NCG vars ##
nagios_server
:
localhost
nagios_admin_email
:
contact@nagiosadmin.localhost
nagios_admin_email
:
"
contact@nagiosadmin.localhost"
vo
:
ops
enable_unicore_probes
:
"
0"
probes_type
:
local
...
...
roles/monitoring_engine/tasks/main.yml
View file @
d0a03c06
...
...
@@ -91,6 +91,33 @@
when
:
enable_unicore_probes is defined and enable_unicore_probes == "1"
tags
:
config
-
name
:
Copy ucc.config file for unicore
template
:
src=ucc.config.j2
dest=/etc/nagios/unicore/ucc.config
owner=nagios group=nagios mode=0400
when
:
enable_unicore_probes is defined and enable_unicore_probes == "1"
tags
:
config
-
name
:
Copy scripts for unicore credentials
template
:
src={{ item }}.j2
dest=/usr/local/bin/{{ item }}
owner=root group=root mode=0744
with_items
:
-
unicore_jks.sh
-
unicore_ks.sh
-
unicore_ts.sh
when
:
enable_unicore_probes is defined and enable_unicore_probes == "1"
tags
:
config
-
name
:
Execute scripts for unicore credentials
command
:
/usr/local/bin/{{ item }}
with_items
:
-
unicore_jks.sh
-
unicore_ks.sh
-
unicore_ts.sh
when
:
enable_unicore_probes is defined and enable_unicore_probes == "1"
tags
:
config
-
name
:
Create vomses dir
file
:
path=/etc/vomses
state=directory
...
...
roles/monitoring_engine/templates/ucc.config.j2
0 → 100644
View file @
d0a03c06
{% include "private_files/" + ansible_fqdn + "/templates/ucc.config.j2" %}
\ No newline at end of file
roles/monitoring_engine/templates/unicore_jks.sh.j2
0 → 100644
View file @
d0a03c06
{% include "private_files/" + ansible_fqdn + "/templates/unicore_jks.sh.j2" %}
\ No newline at end of file
roles/monitoring_engine/templates/unicore_ks.sh.j2
0 → 100644
View file @
d0a03c06
{% include "private_files/" + ansible_fqdn + "/templates/unicore_ks.sh.j2" %}
\ No newline at end of file
roles/monitoring_engine/templates/unicore_ts.sh.j2
0 → 100644
View file @
d0a03c06
{% include "private_files/" + ansible_fqdn + "/templates/unicore_ts.sh.j2" %}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment