/usr/sbin/check-mc-nrpe calls nrpe.disconnet which doesn't exist

Bug #1662578 reported by Gary Richards
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mcollective-plugins (Ubuntu)
New
Undecided
Unassigned

Bug Description

# lsb_release -rd
Description: Ubuntu 14.04.5 LTS
Release: 14.04

# apt-cache policy mcollective-plugins-nrpe
mcollective-plugins-nrpe:
  Installed: 0.0.0~git20120507.df2fa81-0ubuntu1
  Candidate: 0.0.0~git20120507.df2fa81-0ubuntu1
  Version table:
 *** 0.0.0~git20120507.df2fa81-0ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status

Line 65 of /usr/sbin/check-mc-nrpe appears to have a typo in which causes the following problem:

check_mco_cached_facts_file_age: OK: 285 WARNING: 0 CRITICAL: 0 UNKNOWN: 0|total=285 ok=285 warn=0 crit=0 unknown=0 checktime=1.017746
/usr/lib/ruby/vendor_ruby/mcollective/ddl/agentddl.rb:181:in `validate_rpc_request': Attempted to call action disconnet for nrpe but it's not declared in the DDL (MCollective::DDLValidationError)
 from /usr/lib/ruby/vendor_ruby/mcollective/rpc/client.rb:173:in `validate_request'
 from /usr/lib/ruby/vendor_ruby/mcollective/rpc/client.rb:244:in `method_missing'
 from /usr/sbin/check-mc-nrpe:65:in `<main>'

If I correct the mistake, the script works as expected.

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.