Send Netdot-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://osl.uoregon.edu/mailman/listinfo/netdot-users
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-users digest..."


Today's Topics:

   1. netdot_to_cacti.php missing sort_tree() def (Stafford Rau)
   2. Re: netdot_to_cacti.php missing sort_tree() def (Carlos Vicente)


----------------------------------------------------------------------

Message: 1
Date: Wed, 7 Aug 2013 11:32:18 -0700
From: Stafford Rau <[email protected]>
Subject: [Netdot-users] netdot_to_cacti.php missing sort_tree() def
To: [email protected]
Message-ID:
        <CAAquA9GdDtHkDZ9tt==EPU=28_e+o02bpc1h_heok5mkhwk...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

The netdot_to_cacti,.php script was failing due to the sort_tree() function
being undefined. I found the definition
under /usr/share/cacti/lib/tree.php, so I added the following line after
the rest of the includes in netdot_to_cacti.php:

include_once($config["base_path"]."/lib/tree.php");

This seems to working correctly now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://osl.uoregon.edu/pipermail/netdot-users/attachments/20130807/b506178d/attachment-0001.html
 

------------------------------

Message: 2
Date: Wed, 07 Aug 2013 14:44:09 -0400
From: Carlos Vicente <[email protected]>
Subject: Re: [Netdot-users] netdot_to_cacti.php missing sort_tree()
        def
To: Stafford Rau <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

You are correct. I had found the same problem recently and fixed it for
the next release.

I think it's probably due to the function having been moved to a
different file in recent versions of Cacti.

Thank you for reporting it!

cv

On 8/7/13 2:32 PM, Stafford Rau wrote:
> The netdot_to_cacti,.php script was failing due to the sort_tree()
> function being undefined. I found the definition
> under /usr/share/cacti/lib/tree.php, so I added the following line
> after the rest of the includes in netdot_to_cacti.php:
>
> include_once($config["base_path"]."/lib/tree.php");
>
> This seems to working correctly now.
>
>
>
>
> _______________________________________________
> Netdot-users mailing list
> [email protected]
> https://osl.uoregon.edu/mailman/listinfo/netdot-users



------------------------------

_______________________________________________
Netdot-users mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-users


End of Netdot-users Digest, Vol 57, Issue 3
*******************************************

Reply via email to