|
|
| Author |
Message |
saya Cacti User
Joined: 16 Jan 2008 Posts: 57
|
Posted: Tue Feb 12, 2008 3:24 am Post subject: discovery plugin returns no hosts |
|
|
hi all, it's me again - -0
the problem i met this time was about the discovery plugin..similar to the guy in http://forums.cacti.net/post-84853.html I've done the setting of discovery and set the poller frequency to "every day" and enabled "return data queries". Then I went back to Discovery tab but cannot detect any devices...
And i tried to command "php -q findhosts.php -f -d" in a terminal, it did creat graphs for the devices that I had already added in. According to doc, this plugin is for "auto-discovering devices on a subnet that are not monitored by Cacti". But why in my case it only creates graphs for those existing devices in stead of discoverying new devices?
Any ideas?
Thanks a lot!!!
Saya
Last edited by saya on Wed Feb 13, 2008 10:16 pm; edited 2 times in total |
|
| Back to top |
|
 |
riki17
Joined: 12 Feb 2008 Posts: 9
|
Posted: Tue Feb 12, 2008 5:44 am Post subject: |
|
|
Hi, I've the same problem!!!
when I do "php -q findhosts.php -f -d" I find many valid devices.
But in cacti->discovery I see no hosts....
could someone help me? |
|
| Back to top |
|
 |
saya Cacti User
Joined: 16 Jan 2008 Posts: 57
|
Posted: Wed Feb 13, 2008 10:23 pm Post subject: |
|
|
today i found my discovery working! I didn't change any settings but it does return to me the switches that not yet added..it's working fine now!
now the question is, can I use discovery to monitor whether switches are added into the network by people privately? I wish to find it out as soon as possible once a device is plugged in un-authoritatively...And I find that the highest poller frequency is every one hour. Can I make it like every five mins?
Thanks thanks!!
regrads,
Saya |
|
| Back to top |
|
 |
cjblade54
Joined: 04 Mar 2008 Posts: 27
|
Posted: Thu Mar 13, 2008 3:45 pm Post subject: |
|
|
I got the same problem. When i do | Code: | | php -q findhosts.php -f -d | It returns with a "Invalid PHP_SELF Path" Can anyone help me? |
|
| Back to top |
|
 |
alexsm
Joined: 26 Feb 2008 Posts: 6
|
Posted: Fri Mar 14, 2008 4:06 pm Post subject: |
|
|
| cjblade54 wrote: | I got the same problem. When i do | Code: | | php -q findhosts.php -f -d | It returns with a "Invalid PHP_SELF Path" Can anyone help me? |
Put the complete path before the filename findhosts.php like this:
| Code: | | php -q /usr/local/share/cacti/plugins/discovery/findhosts.php -f -d |
|
|
| Back to top |
|
 |
|