| View previous topic :: View next topic |
| Author |
Message |
br5409 New User
Joined: 21 May 2008 Posts: 4
|
Posted: Wed May 21, 2008 5:55 pm Post subject: Discovery plugin and SNMPv2c |
|
|
| Does the discovery plugin support SNMPv2c? When I run it on SNMPv2c products, it says "10.1.1.ip - Host is alive but no SNMP!" It discovers my SNMPv1 products fine.
|
|
| Back to top |
|
 |
br5409 New User
Joined: 21 May 2008 Posts: 4
|
Posted: Thu May 22, 2008 5:43 pm Post subject: |
|
|
| Anyone? Is there a way to force the plugin to use SNMPv2c in the discovery process? or does it use the default setting in Cacti?
|
|
| Back to top |
|
 |
jimmy Site Admin
Joined: 11 Nov 2004 Posts: 1495
|
Posted: Mon May 26, 2008 2:57 pm Post subject: |
|
|
Easy enough to manually force it.
Open findhosts.php
Find this
'snmp_version' => 1,
and change it to
'snmp_version' => '2c',
|
|
| Back to top |
|
 |
br5409 New User
Joined: 21 May 2008 Posts: 4
|
Posted: Thu May 29, 2008 12:45 pm Post subject: |
|
|
Thanks Jimmy, I tried that and I am still getting:
[root@localhost html]# php -q plugins/discovery/findhosts.php -f -d
Checking to determine if it's time to run.
Checking if user changed the start time
The next run time has been determined to be at
2008-06-04 11:46:45
Scanning has been forced
Setting 'Rerun Data Queries' = false
Setting 'Create Graphs for Up Interfaces Only' = true
05/29/2008 12:56:21 PM - POLLER: Poller[0] Network Discover is now running
Primary Community Name : (right name here)
Secondary Community Names :
Calculating Info for Subnet :10.1.1.*
Start IP is 10.1.1.1
Total IPs is 254
10.1.1.1
10.1.1.2 - Host is already in hosts table!
10.1.1.3 - Host is alive but no SNMP!
10.1.1.4 - Host is alive but no SNMP!
.3 and .4 are snmpv2c devices. I can add these manually and it works fine. Any ideas?
|
|
| Back to top |
|
 |
br5409 New User
Joined: 21 May 2008 Posts: 4
|
Posted: Thu May 29, 2008 12:52 pm Post subject: |
|
|
Nevermind... I changed this:
'snmp_version' => '2c',
TO
'snmp_version' => 2,
and it works!! Thanks for the help.
|
|
| Back to top |
|
 |
|