This file is indexed.

/etc/arc/nagios/20-dist.ini is in nordugrid-arc-nagios-plugins 1.8.4-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[variable.service_suffix]
# Usage: check_arcce_submit -O service_suffix=<suffix> ...
# Appends <suffix> to all passive service names.
#
method = option
default =

[variable.local_hostname]
# The host name of the Nagios server.
method = pipe
command = hostname


# Information System Queries
# ==========================

[arcinfosys.aris.dist-queue-active]
# Usage: check_aris --queue-test dist-queue-active ...
# Checks that all queues on the CE is active.
#
type = regex
variable = status
critical.pattern = ^active$
critical.message = Not all queues are active.


# Software Tests for the Main Job Submission Probe
# ================================================
#
# These tests for a few programs.  They use regular expressions, assuming
# that the commands write out the version information in a certain form.
# If the probe should file, you can find the output matched against under
#
#   /var/spool/nagios/plugins/arcce/$VO/$HOST/job_output/*
#
# and adjust the regular expressions.  Please also report the issue to
# http://bugzilla.nordugrid.org

[arcce.dist-sw-csh]
# Usage: check_arcce_submit --test dist-sw-csh ...
#
jobplugin = scripted
#required_programs = csh
script_line = echo >csh-test.csh '#! /bin/csh'; echo >>csh-test.csh 'env >csh.out';   chmod +x csh-test.csh; ./csh-test.csh
output_file = csh.out
output_pattern = ^PATH=
status_ok = Found working csh.
status_critical = Could not find \$PATH in the csh environment
service_description = org.nordugrid.ARC-CE-sw-csh%(service_suffix)s

[arcce.dist-sw-gcc]
# Usage: check_arcce_submit --test dist-sw-gcc ...
#
jobplugin = scripted
#required_programs = gcc
script_line = gcc --version >gcc.out 2>&1
output_file = gcc.out
output_pattern = gcc\s+(\(.*\)\s+)?(?P<version>\d+\.\S+)
status_ok = Found GCC version %(version)s.
status_critical = Could not match GCC version. See /etc/arc/nagios/20-dist.ini for debugging hints.
service_description = org.nordugrid.ARC-CE-sw-gcc%(service_suffix)s

[arcce.dist-sw-python]
# Usage: check_arcce_submit --test dist-sw-python ...
#
jobplugin = scripted
#required_programs = python
script_line = python -V >python.out 2>&1
output_file = python.out
output_pattern = Python\s+(?P<version>\S+)
status_ok = Found Python version %(version)s.
status_critical = Could not match Python version. See /etc/arc/nagios/20-dist.ini for debugging hints.
service_description = org.nordugrid.ARC-CE-sw-python%(service_suffix)s

[arcce.dist-sw-perl]
# Usage: check_arcce_submit --test dist-sw-perl ...
#
jobplugin = scripted
#required_programs = perl
script_line = perl -v >perl.out 2>&1
output_file = perl.out
output_pattern = This is [Pp]erl.*\bv(?P<version>[0-9A-Za-z.-]+)
status_ok = Found Perl version %(version)s.
status_critical = Could not match Perl version. See /etc/arc/nagios/20-dist.ini for debugging hints.
service_description = org.nordugrid.ARC-CE-sw-perl%(service_suffix)s