Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
monitoring-plugins-drbd9
monitoring-plugins-drbd9-pathnames.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File monitoring-plugins-drbd9-pathnames.patch of Package monitoring-plugins-drbd9
Index: nagios_check_drbd9-0.1/check_drbd9.pl =================================================================== --- nagios_check_drbd9-0.1.orig/check_drbd9.pl +++ nagios_check_drbd9-0.1/check_drbd9.pl @@ -631,7 +631,7 @@ sub chk_drbd_walk($) # builds resources - $sh_resources = `/usr/sbin/drbdadm sh-resources 2> /dev/null`; + $sh_resources = `drbdadm sh-resources 2> /dev/null`; if ($? != 0) { printf("DRBD UNKNOWN: error running drbdadm\n"); @@ -660,7 +660,7 @@ sub chk_drbd_walk($) # read events - @lines = `/usr/sbin/drbdsetup events2 --now --statistics all 2> /dev/null`; + @lines = `drbdsetup events2 --now --statistics all 2> /dev/null`; if ($? != 0) { printf("DRBD UNKNOWN: error running drbdsetup\n"); Index: nagios_check_drbd9-0.1/dump_drbd9.pl =================================================================== --- nagios_check_drbd9-0.1.orig/dump_drbd9.pl +++ nagios_check_drbd9-0.1/dump_drbd9.pl @@ -162,7 +162,7 @@ sub chk_drbd_walk($) # builds resources - $sh_resources = `/usr/sbin/drbdadm sh-resources`; + $sh_resources = `drbdadm sh-resources`; if ($sh_resources =~ /^([-_.\w\s]+)$/) { $sh_resources = $1; @@ -182,7 +182,7 @@ sub chk_drbd_walk($) # read events - @lines = `/usr/sbin/drbdsetup events2 --now --statistics all`; + @lines = `drbdsetup events2 --now --statistics all`; chomp(@lines);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor