disable_notifications and other scripts have incorrect path to nagios.cmd

Bug #1879420 reported by Jeff Turner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nagios4 (Ubuntu)
New
Undecided
Unassigned

Bug Description

In /usr/share/nagios4/plugins/eventhandlers there are various handy scripts, like disable_notifications, enable_notifications and submit_check_result, which work by writing directly to the nagios.cmd named pipe.

Currently they are broken:

# /usr/share/nagios4/plugins/eventhandlers/disable_notifications
/usr/share/nagios4/plugins/eventhandlers/disable_notifications: 1: cannot create /usr/local/nagios/var/rw/nagios.cmd: Directory nonexistent

The named pipe is /var/lib/nagios4/rw/nagios.cmd, not /usr/local/nagios/var/rw/nagios.cmd

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.