This file is indexed.

/etc/nagios-plugins/config/mongodb.cfg is in nagios-plugins-contrib 9.20140106.

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
# 'check_mongodb' command definition
define command {
    command_name    check_mongodb
    command_line    /usr/lib/nagios/plugins/check_mongodb -H $HOSTADDRESS$ -A $ARG1$ -P $ARG2$ -W $ARG3$ -C $ARG4$
}

# 'check_mongodb_database' command definition
define command {
    command_name    check_mongodb_database
    command_line    /usr/lib/nagios/plugins/check_mongodb -H $HOSTADDRESS$ -A $ARG1$ -P $ARG2$ -W $ARG3$ -C $ARG4$ -d $ARG5$
}

# 'check_mongodb_collection' command definition
define command {
    command_name    check_mongodb_collection
    command_line    /usr/lib/nagios/plugins/check_mongodb -H $HOSTADDRESS$ -A $ARG1$ -P $ARG2$ -W $ARG3$ -C $ARG4$ -d $ARG5$ -c $ARG6$
}

# 'check_mongodb_replicaset' command definition
define command {
    command_name    check_mongodb_replicaset
    command_line    /usr/lib/nagios/plugins/check_mongodb -H $HOSTADDRESS$ -A $ARG1$ -P $ARG2$ -W $ARG3$ -C $ARG4$ -r $ARG5$
}

# 'check_mongodb_query' command definition
define command {
    command_name    check_mongodb_query
    command_line    /usr/lib/nagios/plugins/check_mongodb -H $HOSTADDRESS$ -A $ARG1$ -P $ARG2$ -W $ARG3$ -C $ARG4$ -q $ARG5$
}