Add nagios_client tag to nagios_client role

This commit is contained in:
Kevin Fenzi 2014-07-05 17:05:14 +00:00
parent bc187c07d8
commit 61e65a9026

View file

@ -16,6 +16,7 @@
- nagios-plugins-ping - nagios-plugins-ping
tags: tags:
- packages - packages
- nagios_client
- name: install local nrpe check scripts that are not packaged - name: install local nrpe check scripts that are not packaged
@ -29,6 +30,8 @@
- check_fedmsg_consumer_exceptions.py - check_fedmsg_consumer_exceptions.py
- check_fedmsg_producers_consumers.py - check_fedmsg_producers_consumers.py
- check_supybot_plugin - check_supybot_plugin
tags:
- nagios_client
# create dirs # create dirs
# puppet used to make /var/spool/nagios (owned by nagios.nagios) mode 750 # puppet used to make /var/spool/nagios (owned by nagios.nagios) mode 750
@ -47,6 +50,7 @@
- restart nrpe - restart nrpe
tags: tags:
- config - config
- nagios_client
# #
# The actual items files here end in .j2 (they are templates) # The actual items files here end in .j2 (they are templates)
@ -75,6 +79,7 @@
- restart nrpe - restart nrpe
tags: tags:
- config - config
- nagios_client
# #
# The actual items files here end in .j2 (they are templates) # The actual items files here end in .j2 (they are templates)
@ -85,6 +90,8 @@
when: datacenter != 'phx2' when: datacenter != 'phx2'
notify: notify:
- restart nrpe - restart nrpe
tags:
- nagios_client
# #
# The actual items files here end in .j2 (they are templates) # The actual items files here end in .j2 (they are templates)
# So when adding or modifying them change the .j2 version in git. # So when adding or modifying them change the .j2 version in git.
@ -94,8 +101,11 @@
when: inventory_hostname.startswith('unbound') when: inventory_hostname.startswith('unbound')
notify: notify:
- restart nrpe - restart nrpe
tags:
- nagios_client
- name: nrpe service start - name: nrpe service start
service: name=nrpe state=running enabled=true service: name=nrpe state=running enabled=true
tags: tags:
- service - service
- nagios_client