Network discovery for Cacty

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

The mactrack reverse lookup isn't yet working for me - should it be?

I'm not getting anything with this plugin, grepping for discov or find turns up nothing in the logs, so I have to assume its not being kicked off?

Kicking it off manually with ICMP shows nothing in the logs (just that its started) and with UDP shows:

Code: Select all

PHP Fatal error:  Call to undefined function socket_create() in /usr/share/cacti/lib/ping.php on line 253
With TCP:

Code: Select all

PHP Fatal error:  Call to undefined function socket_create() in /usr/share/cacti/lib/ping.php on line 352
User avatar
twelzy
Cacti User
Posts: 83
Joined: Wed Mar 30, 2005 6:48 pm
Location: BRAZIL/Brasilia

Post by twelzy »

I'm getting these errors:

With UDP:
Fatal error: Call to undefined function socket_create() in /opt/cacti/cacti-0.8.6g/lib/ping.php on line 200

With TCP:
Fatal error: Call to undefined function socket_create() in /opt/cacti/cacti-0.8.6g/lib/ping.php on line 266

With ICMP:
Fatal error: Call to undefined function socket_create() in /opt/cacti/cacti-0.8.6g/lib/ping.php on line 95

Am I missing something...?!
Thanks in advance!
(And sorry for my poor English...)
_______________________________________
twelzy (Enio Sanches)
User avatar
cdukes
Cacti User
Posts: 61
Joined: Tue Mar 26, 2002 1:25 pm
Location: Morrisville, NC
Contact:

Seed file

Post by cdukes »

How about a seed file option?
I have approx 2500 devices :-)
julpie
Posts: 15
Joined: Mon Apr 03, 2006 7:43 am
Location: Wuerzburg (Germany)

Post by julpie »

Okay it's working for me, but I've a question.

To discover hosts, I had to run manually the file findhosts.php with php findhosts.php command.
Did I make something worng or must I do it like this?

How can I run it automatically? I'm thinking about a cron, but I don't know if I'm right.

Thx.
davs
Posts: 28
Joined: Fri Mar 31, 2006 9:47 am
Location: paris

Post by davs »

Okay it's working for me, but I've a question.

To discover hosts, I had to run manually the file findhosts.php with php findhosts.php command.
Did I make something worng or must I do it like this?

How can I run it automatically? I'm thinking about a cron, but I don't know if I'm right.
Hi,

I'm in the same case as Julpie... Does someone has an idea?

Thanks for your helps...
julpie
Posts: 15
Joined: Mon Apr 03, 2006 7:43 am
Location: Wuerzburg (Germany)

Post by julpie »

I've just discovered that hosts are searched when my server start up, and then look for new hosts regularly when it's up.

So I don't need anymore no launch it manually. :-)
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Discovery should run every 24 hours and will run with the poller, no extra cron jobs required. I am currently working on an option to allow you to specify the start time and how often it should run.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests