test-mon.yaml example template file for checking jujud service proc does not work

Bug #1673081 reported by Sandor Zeestraten
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
NRPE Charm
Won't Fix
Medium
Felipe Reyes

Bug Description

Juju 2.1.1
MAAS 2.1.3
Nagios rev. 15
NRPE rev. 13

Trying to add a local check to check if juju agents are running by adding the string below to the monitors option in the nrpe charm:
# NRPE charm config option
      version: '0.3'
      monitors:
        local:
          procrunning:
            jujud:
              name: Juju running
              min: 1
              max: 1
              executable: jujud

Nagios just ends up with a service called ...check_proc_jujud_user with the status "NRPE: Command 'check_proc_jujud_user' not defined and seemingly does not work.

# Command file on Nagios
/etc/nagios3/conf.d/commands/check_nrpe_H_HOSTADDRESS__ccheck_proc_jujud_user.cfg

# Command file content
define command {
         command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c check_proc_jujud_user
         command_name check_nrpe_H_HOSTADDRESS__ccheck_proc_jujud_user
}

Paul Gear (paulgear)
Changed in nrpe-charm:
status: New → Triaged
importance: Undecided → Medium
Felipe Reyes (freyes)
Changed in nrpe-charm:
assignee: nobody → Felipe Reyes (freyes)
Eric Chen (eric-chen)
Changed in charm-nrpe:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.