0.8.7i PIA 3.1 + discovery plugin not working on Fredora 16
Moderators: Developers, Moderators
0.8.7i PIA 3.1 + discovery plugin not working on Fredora 16
I'm using Cacti 0.8.7i with PIA 3.1. I installed discovery plugin in plugins folder. But, in plugin management page, it won't show discovery plugin. Please advise the solution.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: 0.8.7i PIA 3.1 + discovery plugin not working on Fredora
Did you install from our code or from some distro? Which version of discovery is used?
R.
R.
Re: 0.8.7i PIA 3.1 + discovery plugin not working on Fredora
First, I try to install Cacti 0.8.7i RPM file and Plugin Architecture, Cacti-plugin-0.8.7h-PA-v3.0.tar.gz and Discovery 1.5-1
Result : Discovery Tab won't appear and discovery function won't work normally.
After that, I uninstall the Cacti 0.8.7i RPM. Install cacti-0.8.7i-PIA-3.1.tar.gz and and Discovery 1.5-1
Result : If I have set the Discovery to search a subnet 168.19.1.0/24 and set a Discovery template to assign the discovered SNMP node to the tree, only 168.19.1.X node with SNMP down status show in Discovery Filter page.
If I delete the Discovery template, it can show all 168.19.1.0 nodes but the Host Column value are all "Not Detected". All node are Cisco routers and switches
Are above result normal?
During troubleshooting, I ever try to reinstall Discovery plugin several times and run below command for several times. Any bad impact to the Cacti database? Do I need to drop the Cacti database and create it again? Thanks!
mysql –u root –p cacti < discover.sql
Result : Discovery Tab won't appear and discovery function won't work normally.
After that, I uninstall the Cacti 0.8.7i RPM. Install cacti-0.8.7i-PIA-3.1.tar.gz and and Discovery 1.5-1
Result : If I have set the Discovery to search a subnet 168.19.1.0/24 and set a Discovery template to assign the discovered SNMP node to the tree, only 168.19.1.X node with SNMP down status show in Discovery Filter page.
If I delete the Discovery template, it can show all 168.19.1.0 nodes but the Host Column value are all "Not Detected". All node are Cisco routers and switches
Are above result normal?
During troubleshooting, I ever try to reinstall Discovery plugin several times and run below command for several times. Any bad impact to the Cacti database? Do I need to drop the Cacti database and create it again? Thanks!
mysql –u root –p cacti < discover.sql
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: 0.8.7i PIA 3.1 + discovery plugin not working on Fredora
That depends on what the DNS reverse lookup yields. An this requires, that you've defined a correct DNS server to be queries.tung2000 wrote:After that, I uninstall the Cacti 0.8.7i RPM. Install cacti-0.8.7i-PIA-3.1.tar.gz and and Discovery 1.5-1
Result : If I have set the Discovery to search a subnet 168.19.1.0/24 and set a Discovery template to assign the discovered SNMP node to the tree, only 168.19.1.X node with SNMP down status show in Discovery Filter page.
If I delete the Discovery template, it can show all 168.19.1.0 nodes but the Host Column value are all "Not Detected". All node are Cisco routers and switches
Are above result normal?
See "System Utilities" to find an option to truncate the discovery table for a fresh findhost run. Apart from that, no worries.During troubleshooting, I ever try to reinstall Discovery plugin several times and run below command for several times. Any bad impact to the Cacti database? Do I need to drop the Cacti database and create it again? Thanks!
mysql –u root –p cacti < discover.sql
You may perhaps want to add more SNMP credentials in case you're using more than a single setup. Discovery will then scan them one-by-one against any host to find e.fg. the sysDescr string
R.
Re: 0.8.7i PIA 3.1 + discovery plugin not working on Fredora
In first case, I failed to use Discovery pluign. Is Cacti 0.8.7i RPM not compatible with Cacti-plugin-0.8.7h-PA-v3.0?
If the devices are Cisco routers and switches and they won't have host record in DNS, is it not possible to show the hostname in Discovery page?
Refer to this link, http://docs.cacti.net/manual:087:1_installation.9_pia, PIA will autodetect PIA 2.x-Type Plugins in plugins directory. I just need to click install and enable button in plugin managment page to use the plugin. Then, do I still need to run below SQL command when installing the plugin?
mysql –u root –p cacti < discover.sql
If the devices are Cisco routers and switches and they won't have host record in DNS, is it not possible to show the hostname in Discovery page?
Refer to this link, http://docs.cacti.net/manual:087:1_installation.9_pia, PIA will autodetect PIA 2.x-Type Plugins in plugins directory. I just need to click install and enable button in plugin managment page to use the plugin. Then, do I still need to run below SQL command when installing the plugin?
mysql –u root –p cacti < discover.sql
Re: 0.8.7i PIA 3.1 + discovery plugin not working on Fredora
See "System Utilities" to find an option to truncate the discovery table
Do you mean using clearing discovery cache option in System Utilities?
Do you mean using clearing discovery cache option in System Utilities?
Re: 0.8.7i PIA 3.1 + discovery plugin not working on Fredora
Is it "Clear Discovery Results"? in System Utilities.tung2000 wrote:See "System Utilities" to find an option to truncate the discovery table
Do you mean using clearing discovery cache option in System Utilities?
If I only need to scan one host, i.e. 192.168.1.1, do I just need to enter the IP address 192.168.1.1 without subnet mask /24 in setting --> Misc page?
Thanks a lot!
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: 0.8.7i PIA 3.1 + discovery plugin not working on Fredora
We always packaged cacti base with a specific PIA to be sure that both work together. In case you're fiddeling with this, I strongly recommend to use 087i+PIA3.0 tar.gztung2000 wrote:In first case, I failed to use Discovery pluign. Is Cacti 0.8.7i RPM not compatible with Cacti-plugin-0.8.7h-PA-v3.0?
So, where should that hostname come from? We do an IP range scan, so we only have IP@ in first instance. To get the hostname, we have to perform a reverse DNS lookup.If the devices are Cisco routers and switches and they won't have host record in DNS, is it not possible to show the hostname in Discovery page?
This depends on the plugin. In early stages, many plugin developers shipped seperate <plugin>.sql files. Later, this was usually implemented in setup.php. If there IS an sql file, it usually won't hurt to run that.Refer to this link, http://docs.cacti.net/manual:087:1_installation.9_pia, PIA will autodetect PIA 2.x-Type Plugins in plugins directory. I just need to click install and enable button in plugin managment page to use the plugin. Then, do I still need to run below SQL command when installing the plugin?
R.
Re: 0.8.7i PIA 3.1 + discovery plugin not working on Fredora
You said "See System Utilities to find an option to truncate the discovery table"
Is it the option "Clear Discovery Results" in System Utilities?
Thanks!
Is it the option "Clear Discovery Results" in System Utilities?
Thanks!
Re: 0.8.7i PIA 3.1 + discovery plugin not working on Fredora
If I only need to scan one host, i.e. 192.168.1.1, Do I just need to enter the IP address 192.168.1.1 without subnet mask /24 in setting --> Misc page?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: 0.8.7i PIA 3.1 + discovery plugin not working on Fredora
Yestung2000 wrote:You said "See System Utilities to find an option to truncate the discovery table"
Is it the option "Clear Discovery Results" in System Utilities?
Thanks!
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: 0.8.7i PIA 3.1 + discovery plugin not working on Fredora
Never tried that. As you already know this very IP, it does not make sense to me to re-find that IP (which you already know) via discovery. But it may work to define a /32 subnet which indeed means a single host's entrytung2000 wrote:If I only need to scan one host, i.e. 192.168.1.1, Do I just need to enter the IP address 192.168.1.1 without subnet mask /24 in setting --> Misc page?
R.
Re: 0.8.7i PIA 3.1 + discovery plugin not working on Fredora
See "System Utilities" to find an option to truncate the discovery table
Do you mean using clearing discovery cache option in System Utilities?
Do you mean using clearing discovery cache option in System Utilities?
Who is online
Users browsing this forum: No registered users and 2 guests