Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


discovery plugin returns no hosts

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General
Author Message
saya
Cacti User


Joined: 16 Jan 2008
Posts: 57

PostPosted: Tue Feb 12, 2008 3:24 am    Post subject: discovery plugin returns no hosts Reply with quote

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

PostPosted: Tue Feb 12, 2008 5:44 am    Post subject: Reply with quote

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

PostPosted: Wed Feb 13, 2008 10:23 pm    Post subject: Reply with quote

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: 25

PostPosted: Thu Mar 13, 2008 3:45 pm    Post subject: Reply with quote

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

PostPosted: Fri Mar 14, 2008 4:06 pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group