/etc/init.d/nagios3 has two status functions and no check function

Bug #803834 reported by Blake Maltby
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nagios3 (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

The initscript exposes status and check commands which attempt to call matching named functions in the script. However there are two definitions of a status function and hence /etc/init.d/nagios3 status actually runs a check on the config files and /etc/init.d/nagios3 check simply throws an error.
I believe the second of the two status functions should be named check

Details of system:
Description: Ubuntu 11.04
Release: 11.04

nagios3-common:
  Installed: 3.2.3-1ubuntu1.2
  Candidate: 3.2.3-1ubuntu1.2
  Version table:
 *** 3.2.3-1ubuntu1.2 0
        500 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu/ natty-security/main i386 Packages
        100 /var/lib/dpkg/status
     3.2.3-1ubuntu1 0
        500 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

Chuck Short (zulcss)
Changed in nagios3 (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
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.