Use Icinga 2's default Livestatus socket path as default when configuring a livestatus resource

This commit is contained in:
Eric Lippmann 2014-12-29 15:55:57 +01:00
parent a48adb5e4b
commit e1bedc9afe
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class LivestatusResourceForm extends Form
'required' => true,
'label' => t('Socket'),
'description' => t('The path to your livestatus socket used for querying monitoring data'),
'value' => realpath(Icinga::app()->getApplicationDir() . '/../var/rw/livestatus')
'value' => '/var/run/icinga2/cmd/livestatus'
)
);