[Bug 1027823] Re: defining a service with parameters leads to errors is service is remote

Clint Byrum clint at fewbar.com
Sat Aug 4 13:30:54 UTC 2012


Hi Thomas, thanks for the excellent bug report!

I verified that this works fine in Nagios 3.4 from quantal, but is
broken in the Nagios from precise.

Its conceivable that the fix can be backported. The problem is that the
command is being called with everything from the ! to the eol as one
argument, so

exec('check_nrpe','-c','check_load','-a','40.0 32.0 28.0 48.0 40.0
36.0')

In 3.4 it gets called as

exec('check_nrpe','-c','check_load','-a','40.0','32.0','28.0','48.0','40.0,'36.0')


** Changed in: nagios3 (Ubuntu)
       Status: New => Confirmed

** Changed in: nagios3 (Ubuntu)
       Status: Confirmed => Fix Released

** Changed in: nagios3 (Ubuntu)
   Importance: Undecided => Medium

** Also affects: nagios3 (Ubuntu Precise)
   Importance: Undecided
       Status: New

** Changed in: nagios3 (Ubuntu Precise)
       Status: New => Triaged

** Changed in: nagios3 (Ubuntu Precise)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios3 in Ubuntu.
https://bugs.launchpad.net/bugs/1027823

Title:
  defining a service with parameters leads to errors is service is
  remote

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios3/+bug/1027823/+subscriptions



More information about the Ubuntu-server-bugs mailing list