Ubuntu Pastebin

Paste from Odd_Bloke at Wed, 10 Jun 2015 10:40:52 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
% juju ssh ubuntu-repository-cache/0
...
$ cat /var/lib/nagios/export/service__juju-ubuntu-repository-cache-0_check_apache.cfg 

#---------------------------------------------------
# This file is Juju managed
#---------------------------------------------------
define service {
    use                             active-service
    host_name                       juju-ubuntu-repository-cache-0
    service_description             juju-ubuntu-repository-cache-0[apache] Apache2 serving archive metadata
    check_command                   check_nrpe!check_apache
    servicegroups                   oddbloke
}


...


% juju ssh nagios/0
...
$ cat /etc/nagios3/conf.d/charm.cfg
...
# Configuration file /etc/nagios3-inprogress/conf.d/charm.cfg
# Edited by PyNag on Wed Jun 10 10:28:17 2015

define service {
	 check_command                  check_nrpe_H_HOSTADDRESS__ccheck_apache!
	 service_description            juju-ubuntu-repository-cache-0-apache
	 use                            generic-service               
	 host_name                      juju-ubuntu-repository-cache-0
}
...
Download as text