Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
cigamit wrote:I'm thinking about trimming down the amount of initial info it shows, but instead have it show the Location, Contact, and Description as a DHTML popup when you mouse over the device.
Another excellent plugin!
How about a DHTML popup for port speeds in mac track though?!
Alex72 wrote:First of all: This plugin is a very good idea and so long it is also well done -Thank you!
I installed the plugin and it seems that is working correctly, but I have a question about the interval when discover is scanning the subnet(s):
Where can I configure the time-interval? Is it hardcoded at the moment and if so where can I modify it?
Thanks,
Alex.
That is an option that is already set to be added, just haven't had the time yet.
cigamit wrote:I went ahead and threw the developmental snapshot up on my site as a beta so everyone can test out and let me know how it works for them.
Hi cigamit
I installed the discovery plugin 0.1b on top of my test system (Cacti 0.8.6h + patches + plugin architecture 0.8 + monitor 0.4), and get this error when accessing the "discover" tab :
This test system is running MySQL 4.1.14, Apache 2.0.55 and PHP 5.0.5
I assume you imported the discover.sql file? The "plugin_discover_hosts" table contains a column named "hash" which is actually a numberical representation of an IP address, to make sorting by the IP very simple.
$ php findhosts.php
02/01/2006 10:25:37 AM - POLLER: Poller[0] Network Discover is now running xx.xx.xx.xx
Fatal error: Call to undefined function socket_create() in /cacti/cacti-0.8.6h/lib/ping.php on line 117
Let's recompile PHP with sockets support...
To all Gentooers, add this to /etc/portage/package.use :
Currently it uses the Cacti Ping library, but defaults to ICMP ping. Later, you will have the option to use UDP or TCP instead, so in that case you wouldn't need the sockets support.
I had the plugin_discovery_{hosts,os} tables, but missed the "hash" column.
Dropped them and imported the .sql file, and now the plugin find hosts
Thanks !
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
mgb wrote:Ah. Inserting the tables by hand worked for me also. Is this a flaw in the script or was the table already there?
Maybe a drop table before inserting would be nice.
Michael
Actually, it was a flaw in the script that auto-imported the tables. Fixed now ofcourse, but since they are now there, you would have to drop an drop and reimport it to fix it.
I have installed the discover plugin but the tab never appears.
I added the following line to cacti/include/config.php
$plugins[] = 'discover';
and dropped the files in /cacti/plugins/discover and imported the discover.sql file into the cacti db.
I checked for rights, etc, but I do not see anywhere to add and it doesn't appear available as a tab. Not sure what I'm missing? Running Cacti version 0.8.6h.
change your folder name to discovery as well as the plugin name. I'm pretty sure the documentation has "discover" as the name. That should get it going
Allen K wrote:change your folder name to discovery as well as the plugin name. I'm pretty sure the documentation has "discover" as the name. That should get it going
I'm wondering how soon the sockets requirement will be removed. I think that's what hosed me up last week - adding it via YaST. I don't know of a safer way to do it though...
knobdy wrote:I'm wondering how soon the sockets requirement will be removed. I think that's what hosed me up last week - adding it via YaST. I don't know of a safer way to do it though...
I will be adding the option to use UDP instead of ICMP fairly soon.
knobdy wrote:I'm wondering how soon the sockets requirement will be removed. I think that's what hosed me up last week - adding it via YaST. I don't know of a safer way to do it though...
I will be adding the option to use UDP instead of ICMP fairly soon.
OK, well I gave in to the peer pressure, and have now released v0.2, which adds the option for UDP/TCP/or ICMP pings, and also allows you to add a DNS server to query (port 53, using Mactracks excellent function).