That seems to be correct... Adam, you broke it. (again)

Committed on 20/12, seems it was preparing for end-of-world anyway... ;-)

On 9/01/2013 7:21, Paul Gear wrote:
Hi all,

I'm just looking into a couple of nagging problems on my Observium install and i found this:

  1. includes/discovery/discovery-protocols.inc.php uses ifNameDescr(), which is defined in includes/rewrites.php (called from includes/functions.php).
  2. ifNameDescr() is a wrapper around ifLabel(), which itself is a wrapper around humanize_port()
  3. humanize_port() calls humanspeed(), which is defined in html/includes/functions.inc.php

This seems to indicate that ifNameDescr/ifLabel/humanize port, when called from discovery functions, will never work.

Is this intentional?  Or should humanspeed() (and possibly others of its peers within html/includes/functions.inc.php) be moved to includes/rewrites.php?

Regards,
Paul



_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium