Discovery plugin producing no results
Moderators: Developers, Moderators
Discovery plugin producing no results
I am hoping that someone can point me in the right direction to get the discovery plugin (Version 0.4) working. I have installed the plugin and granted permissions, so I can see the tab and the interface, but am getting no results. I have verified that my subnet is correct and am using TCP as the ping method (it is a Windows XP system).
when I try to run findhosts.php manually, I get the following information returned:
C:\wamp\php>php -q C:\wamp\www\cacti\plugins\discovery\findhosts.php
04/22/2006 05:10:45 PM - POLLER: Poller[0] Network Discover is now running
Primary Community Name : public
Secondary Community Names :
Calculating Info for Subnet :255.255.255.0
Start IP is 255.255.255.0
Total IPs is 1
255.255.255.0Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
snmpget: Failure in sendto (No such file or directory)
PHP Warning: Unknown: open(../tmp\sess_194bb2e9b57347fedd6cce40fabbf498, O_RDWR
) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown: open(../tmp\sess_194bb2e9b57347fedd6cce40fabbf498, O_RDWR) fai
led: No such file or directory (2) in Unknown on line 0
PHP Warning: Unknown: Failed to write session data (files). Please verify that
the current setting of session.save_path is correct (../tmp) in Unknown on line
0
Warning: Unknown: Failed to write session data (files). Please verify that the c
urrent setting of session.save_path is correct (../tmp) in Unknown on line 0
One part of that whch confuses me is the part where it shows the subnet and IP to scan as the same thing - Calculating Info for Subnet :255.255.255.0
Start IP is 255.255.255.0
Is that normal? I would really appreciate any advice anyone could give. I'd love to get this going. Thanks!
when I try to run findhosts.php manually, I get the following information returned:
C:\wamp\php>php -q C:\wamp\www\cacti\plugins\discovery\findhosts.php
04/22/2006 05:10:45 PM - POLLER: Poller[0] Network Discover is now running
Primary Community Name : public
Secondary Community Names :
Calculating Info for Subnet :255.255.255.0
Start IP is 255.255.255.0
Total IPs is 1
255.255.255.0Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
snmpget: Failure in sendto (No such file or directory)
PHP Warning: Unknown: open(../tmp\sess_194bb2e9b57347fedd6cce40fabbf498, O_RDWR
) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown: open(../tmp\sess_194bb2e9b57347fedd6cce40fabbf498, O_RDWR) fai
led: No such file or directory (2) in Unknown on line 0
PHP Warning: Unknown: Failed to write session data (files). Please verify that
the current setting of session.save_path is correct (../tmp) in Unknown on line
0
Warning: Unknown: Failed to write session data (files). Please verify that the c
urrent setting of session.save_path is correct (../tmp) in Unknown on line 0
One part of that whch confuses me is the part where it shows the subnet and IP to scan as the same thing - Calculating Info for Subnet :255.255.255.0
Start IP is 255.255.255.0
Is that normal? I would really appreciate any advice anyone could give. I'd love to get this going. Thanks!
I'll be sure to correct the wording. Its asking for the IP Range, but you can specify an IP and the subnet also (the examples should clue you in). So for instance you can enter items like this....
10.1.0.*
10.10.1.0.0/24
10.10.1.0.0/255.255.255.0
10.1.0.19/255.255.255.240
10.1.0.19-10.1.0.27
It also will only scan using the community names you specify, and only on the default port.
10.1.0.*
10.10.1.0.0/24
10.10.1.0.0/255.255.255.0
10.1.0.19/255.255.255.240
10.1.0.19-10.1.0.27
It also will only scan using the community names you specify, and only on the default port.
-
- Posts: 3
- Joined: Tue Jan 17, 2006 10:29 pm
Discovery plugin producing no results
cigamit, i've follow ur clue..but,there's still no result..
here is the log
05/23/2006 11:27:16 AM - POLLER: Poller[0] Network Discover is now running
Primary Community Name : public
Secondary Community Names :
Calculating Info for Subnet :10.234.0.1-10.234.0.90/255.255.252.0
Could not calculate starting address!
Could not calculate total IPs!
Start IP is
Total IPs is
could you help me please with this one..and also i have some error on this
Notice: Undefined index: QUERY_STRING in C:\websever\server\cacti\plugins\discovery\discover.php on line 49
thx
here is the log
05/23/2006 11:27:16 AM - POLLER: Poller[0] Network Discover is now running
Primary Community Name : public
Secondary Community Names :
Calculating Info for Subnet :10.234.0.1-10.234.0.90/255.255.252.0
Could not calculate starting address!
Could not calculate total IPs!
Start IP is
Total IPs is
could you help me please with this one..and also i have some error on this
Notice: Undefined index: QUERY_STRING in C:\websever\server\cacti\plugins\discovery\discover.php on line 49
thx
Re: Discovery plugin producing no results
If you are specifying a range of IPs, adding a subnet to that range is unnecessary and screws the parser. Try instead just entering the range itselfchrisdiono wrote:Calculating Info for Subnet :10.234.0.1-10.234.0.90/255.255.252.0
Could not calculate starting address!
Could not calculate total IPs!
10.234.0.1-10.234.0.90
-
- Posts: 3
- Joined: Tue Jan 17, 2006 10:29 pm
Discovery plugin producing no results
yup...it's work without the subnet..but, why all of range of the IP is showing cannot find modul in the scan result.
thx
thx
I am having the same results, I want it to scan the whole 10.x.x.x range so I put 10.0.0.0-10.255.255.255. I have public specified as the community, and everything seems to be set up ok, but when I hit GO under the Discovery tab... nothing happens??? Any thoughts. Thanks!
Jacob Bergman
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
That's a lot of IP addresses. Can you debug it?
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
So I suck and I'm new... steps to debug it...??
I work a school district and its set up 10.1 for admin, 10.2 for this school 10.3 for that school, i could split it into about 12 different ranges, but this seemed easier just to get it up and working first.
Thanks Witness
I work a school district and its set up 10.1 for admin, 10.2 for this school 10.3 for that school, i could split it into about 12 different ranges, but this seemed easier just to get it up and working first.
Thanks Witness
Jacob Bergman
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
Heh, that would take a fairly long time to scan, I could imagine a few days.
The GO button doesn't start the scan, you configure the settings to tell it when to start, and it does it automatically in the background at the specified interval.
To run a debug scan, goto the command line in the discovery folder and do
php -q findhosts.php -f -d
Jimmy
The GO button doesn't start the scan, you configure the settings to tell it when to start, and it does it automatically in the background at the specified interval.
To run a debug scan, goto the command line in the discovery folder and do
php -q findhosts.php -f -d
Jimmy
thanks Cigamit! I thought I could run the scan with the go button without setting the schedule. I noticed when I did the debug, it starting finding everything. So I set the schedule, and everything is going great now. Thanks!!!
Jacob Bergman
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
-
- Posts: 3
- Joined: Fri May 08, 2009 12:57 am
- Location: bangalore
- Contact:
Can't make it work on snmp version3
Hi i'm using snmp version 3 , but i dont see any option in discovery plugin regarding it , or does it take it from common settings ?
Who is online
Users browsing this forum: No registered users and 1 guest