ping latency graphs not working

Bug #702869 reported by Devroush
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cacti
Fix Released
Unknown
cacti (Debian)
Fix Released
Unknown
cacti (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: cacti

Making a graph of the ping latency of a host no longer works. The output of the ping script (located in <path_cacti>/scripts/ping.pl) is invalid.

The problem is the following line in ping.pl:
open(PROCESS, "ping -c 1 $host | grep icmp_seq | grep time |");

icmp_seq should be replaced with icmp_req, as that is used in the output of the ping util. This fixed the problem.

Version information:
Ubuntu 10.10
Cacti package 0.8.7g-1

CVE References

Robert Sajdok (ris)
Changed in cacti (Ubuntu):
status: New → Confirmed
Changed in cacti:
status: Unknown → New
Revision history for this message
Victor Vargas (kamus) wrote :

Would be nice if you can attach a path into this report too (for Maverick users)

Changed in cacti (Ubuntu):
importance: Undecided → Low
status: Confirmed → Triaged
Changed in cacti:
status: New → Fix Released
Changed in cacti (Debian):
status: Unknown → Fix Released
Revision history for this message
Mahyuddin Susanto (udienz) wrote :

I have uploaded new version of cacti in Debian, i believe this bug will solved immediately in precise after sync from Debian

Revision history for this message
Mahyuddin Susanto (udienz) wrote :

Fixed in precise:

cacti (0.8.7i-2) unstable; urgency=3Dlow

  * Cherry-pick upstream patches
    - debian/patches/10_settings_checkbox.patch
  * debian/patches/05_no-adodb.patch: Updates, add semicolon at line 190.
    (Closes: #653863)
  * Updated last changelog to mention security bug.

cacti (0.8.7i-1) unstable; urgency=3Dlow

  * New upstream release. (Closes: #642971)
    - Fix Ping query. (Closes: #616320, #561488)
    - Fix SQL injection issue in auth_login.php (Closes: #652371) this is
      CVE-2011-4824
  * debian/control:
    - Bump Standard-Version to 3.9.2, no source changes.
    - Change Maintainer to pkg-cacti. (Closes: #613857)
    - Add Sean and myself as uploaders.
    - Change Vcs-* to pkg-cacti.
  * debian/copyright: Rewriting as per dep5 format.
  * debian/source: Added to mentioning quilt patch system.
  * debian/README.source: Deleted, not needed anymore
  * debian/patches/09_use-utf8.patch: Use UTF-8 while creating database and
    producing RRD, Thanks to Slavko <email address hidden>. (Closes: #604395)
  * Refreshed pathces:
    - debian/patches/01_config.php.patch
    - debian/patches/05_no-adodb.patch
    - debian/patches/06_config_settings.php_cactid_path.patch
    - debian/patches/07_cli-include-path.patch (Closes: #604396)
    - debian/patches/08_563955_local_data_id.patch (Closes: #563955)
  * Drop patches apllied upstream:
    - 606062_ping.pl.patch
    - data_source_deactivate.patch
    - graph_list_view.patch
    - html_output.patch
    - ldap_group_authenication.patch
    - ping.patch
    - poller_interval.patch
    - script_server_command_line_parse.patch
  * Add Lighttpd support:
    - debian/docs: updated
    - debian/cacti.lighttpd.conf: added
    - debian/cacti.{postinst|postrm|templates}: updated

Changed in cacti (Ubuntu):
status: Triaged → Fix Released
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.