Nagios has wrong default path to rpcinfo

Bug #1086151 reported by Todd Taft on 2012-12-03
This bug affects 3 people
Affects Status Importance Assigned to Milestone
nagios-plugins (Ubuntu)

Bug Description

In the file /usr/lib/nagios/plugins/ , the default path to the rpcinfo command is specified as /usr/bin/rpcinfo . In more recent versions of Ubuntu (e.g. 12.04), the rpcinfo command has moved from /usr/bin/rpcinfo to /usr/sbin/rpcinfo . The default path in /usr/lib/nagios/plugins/ should be updated to reflect this change. Some commands, such as /usr/lib/nagios/plugins/check_rpc won't work unless this value is changed.

In /usr/lib/nagios/plugins/
Replace this line:
$PATH_TO_RPCINFO = "/usr/bin/rpcinfo" ;
$PATH_TO_RPCINFO = "/usr/sbin/rpcinfo" ;

Jan Wagner (waja) on 2012-12-04
Changed in nagios-plugins (Debian):
assignee: nobody → cyco (ubuntu-cyconet)
Changed in nagios-plugins (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Jan Wagner (waja) on 2012-12-15
no longer affects: nagios-plugins (Debian)
Revision history for this message
Jan Wagner (waja) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "commited change from debian scm" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.7 KiB)

This bug was fixed in the package nagios-plugins - 1.4.16-1ubuntu1

nagios-plugins (1.4.16-1ubuntu1) raring; urgency=low

  [ Dmitrijs Ledkovs ]
  * Merge from debian unstable. Remaining changes:
    - debian/control:
       + build with libradius1-dev to avoid pushing radiusclient-ng to main.
       + Do not recommend qstat and fping in nagios-plugins-standard to avoid
         promotion to main.
    - debian/control, debian/rules, debian/nagios-plugins-extra.dirs
       + add package nagios-plugins-extra

  [ Robie Basak ]
  * Fix FTBFS: do not assume that gets is defined (LP: #1097848).

  [ Jan Wagner ]
  * Define the path for rpcinfo on ubuntu to /usr/sbin and depended on rpcbind
    (LP: #1086151).

nagios-plugins (1.4.16-1) unstable; urgency=low

  * New upstream release
   - Drop 00_fix_release_version.dpatch
  * Droped the following upstream integrated patches
    - 03_check_disk_smb_perfdata.dpatch
    - 10_check_dhcp_Fix-handling-of-pad-options.dpatch
    - 11_check_dhcp_Don-t-misinterpret-the-siaddr-field.dpatch
  * Updated debian/copyright

nagios-plugins (1.4.16~pre1-1) unstable; urgency=medium

  * New upstream snapshot (Closes: #662638, #514588)
  * Droped the following upstream integrated patches
    - 10_check_disk_smb_spaces.dpatch
    - 11_check_disk_smb_NT_STATUS_ACCESS_DENIED.dpatch
    - 12_check_snmp_1.4.15_regression.dpatch
    - 13_check_smtp_greeting.dpatch
    - 14_check_icmp_multiple_ips.dpatch
    - 15_check_sensors_fault.dpatch
    - 16_check_raduis_fix_format-security.dpatch
    - 17_check_tcp_fix_duplicate_cert_message.dpatch
    - 17_check_smtp_fix_duplicate_cert_message.dpatch
    - 18_check_snmp_labels.dpatch
    - 19_check_http_help.dpatch
  * Added the following upstream patches
    - 10_check_dhcp_Fix-handling-of-pad-options.dpatch
    - 11_check_dhcp_Don-t-misinterpret-the-siaddr-field.dpatch
  * Add 00_fix_release_version.dpatch to fix release version
  * Bump Standards-Version to 3.9.3, no changes needed

nagios-plugins (1.4.15-7) unstable; urgency=low

  * Recommand nagios-plugins-contrib via nagios-plugins, drop
    nagios-plugins-common which gets installed by nagios-plugins-basic
  * Add Replaces: nagios-plugins-basic to nagios-plugins-common
    (Closes: #673891), thanks to Christoph Anton Mitterer

nagios-plugins (1.4.15-6) unstable; urgency=low

  * Add nagios-plugins-common package which ships files possibly needed also by
    other plugin packages
  * Removed check_bgpstate and check_linux_raid from package
    - Deleted and 05_check_linux_raid_fix_striped.dpatch
    - Remove check_snmp_bgpstate command definition
  * Recommand nagios-plugins-common via nagios-plugins
  * Add icinga as recommand as alternative for nagios3
  * Add '-w %d' as ping argument for check_ping on non-linux plattforms, as
    inetutils-ping is now supporting this, thanks Guillem Jover for bringing
    this up (Closes: #655023)
  * Adding 17_check_smtp_fix_duplicate_cert_message.dpatch and
    17_check_tcp_fix_duplicate_cert_message.dpatch (Closes: #654682), to fix
    duplicate messages when certificate errors occures, thanks Sebastian Harl
    for reporting
  * Add buil...


Changed in nagios-plugins (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers