Hi,
I've added below line to config.php but when I run "discovery.php -h all" it doesn't try to use snmp to find hosts on 10.0.0.0/24
$config['autodiscovery']['ip_nets'] = array("127.0.0.0/8", "10.0.0.0/24"); // Networks to permit autodiscovery
What I'm doing wrong ?
Thanks
Dominik
On 09/13/2013 10:53 AM, Zalewski, Dominik wrote:
Hi,
I've added below line to config.php but when I run "discovery.php -h all" it doesn't try to use snmp to find hosts on 10.0.0.0/24
$config['autodiscovery']['ip_nets'] = array("127.0.0.0/8", "10.0.0.0/24"); // Networks to permit autodiscovery
What I'm doing wrong ?
2 things:
- Expecting discovery.php to do discovery like that - it's not what it's for; discovery finds things on devices already added to Observium (*). - Expecting Observium to snmp-scan a subnet, which is functionality that isn't there.
:-)
Tom (*) It also detects new devices, via different mechanisms, but snmp scan isn't one of them - currently.
At 13-09-2013 10:53, Zalewski, Dominik wrote:
Hi,
I've added below line to config.php but when I run "discovery.php -h all" it doesn't try to use snmp to find hosts on 10.0.0.0/24
$config['autodiscovery']['ip_nets'] = array("127.0.0.0/8", "10.0.0.0/24"); // Networks to permit autodiscovery
What I'm doing wrong ?
You also need to enable some protocols at your devices to do the work, discovery can be done by detecting neigbours via CDP/LLDP or routing protocols OSPF and BGP.
http://www.observium.org/wiki/Device_Autodiscovery http://www.observium.org/wiki/Configuration_Options#Auto_Discovery_Settings
So there is no way to auto discover and add new hosts via snmp ?
I could make a loop and use add_host.php to add every subnet but I thought auto discovery will take care of that.
-----Original Message----- From: Michiel Klaver [mailto:michiel@klaver.it] Sent: 13 September 2013 10:19 To: Observium Network Observation System; Zalewski, Dominik Subject: Re: [Observium] Auto discovery subnet
At 13-09-2013 10:53, Zalewski, Dominik wrote:
Hi,
I've added below line to config.php but when I run "discovery.php -h all" it doesn't try to use snmp to find hosts on 10.0.0.0/24
$config['autodiscovery']['ip_nets'] = array("127.0.0.0/8", "10.0.0.0/24"); // Networks to permit autodiscovery
What I'm doing wrong ?
You also need to enable some protocols at your devices to do the work, discovery can be done by detecting neigbours via CDP/LLDP or routing protocols OSPF and BGP.
http://www.observium.org/wiki/Device_Autodiscovery http://www.observium.org/wiki/Configuration_Options#Auto_Discovery_Settings
To report this email as SPAM, please forward it to spam@websense.com
Correct me if I'm wrong but when below is TRUE discovery.php should use snmp to scan 10.0.0.0/24 ?
$config['autodiscovery']['snmpscan'] = TRUE; // autodiscover hosts via SNMP scanning $config['autodiscovery']['ip_nets'] = array("127.0.0.0/8", "10.0.0.0/24"); // Networks to permit autodiscovery
Is that right?
Thanks
Dominik ________________________________________ From: observium [observium-bounces@observium.org] on behalf of Zalewski, Dominik [dzalewski@websense.com] Sent: 13 September 2013 10:44 To: Michiel Klaver; Observium Network Observation System Subject: Re: [Observium] Auto discovery subnet
So there is no way to auto discover and add new hosts via snmp ?
I could make a loop and use add_host.php to add every subnet but I thought auto discovery will take care of that.
-----Original Message----- From: Michiel Klaver [mailto:michiel@klaver.it] Sent: 13 September 2013 10:19 To: Observium Network Observation System; Zalewski, Dominik Subject: Re: [Observium] Auto discovery subnet
At 13-09-2013 10:53, Zalewski, Dominik wrote:
Hi,
I've added below line to config.php but when I run "discovery.php -h all" it doesn't try to use snmp to find hosts on 10.0.0.0/24
$config['autodiscovery']['ip_nets'] = array("127.0.0.0/8", "10.0.0.0/24"); // Networks to permit autodiscovery
What I'm doing wrong ?
You also need to enable some protocols at your devices to do the work, discovery can be done by detecting neigbours via CDP/LLDP or routing protocols OSPF and BGP.
http://www.observium.org/wiki/Device_Autodiscovery http://www.observium.org/wiki/Configuration_Options#Auto_Discovery_Settings
To report this email as SPAM, please forward it to spam@websense.com _______________________________________________ observium mailing list observium@observium.org http://hybrid-web.global.blackspider.com/urlwrap/?q=AXicJYzBDcIwDEXNNJyIIRKo...
To report this email as SPAM, please forward it to spam@websense.com
You were already corrected.
True, defaults.inc.php does make it seem like that; the wiki however notes:
$config['autodiscovery']['snmpscan'] = TRUE; // autodiscover hosts via SNMP scanning
SNMP autodiscovery is currently not implemented.
I'll make a note in defaults of the same.
Tom
On 09/13/2013 11:57 AM, Zalewski, Dominik wrote:
Correct me if I'm wrong but when below is TRUE discovery.php should use snmp to scan 10.0.0.0/24 ?
$config['autodiscovery']['snmpscan'] = TRUE; // autodiscover hosts via SNMP scanning $config['autodiscovery']['ip_nets'] = array("127.0.0.0/8", "10.0.0.0/24"); // Networks to permit autodiscovery
Is that right?
Thanks
Dominik ________________________________________ From: observium [observium-bounces@observium.org] on behalf of Zalewski, Dominik [dzalewski@websense.com] Sent: 13 September 2013 10:44 To: Michiel Klaver; Observium Network Observation System Subject: Re: [Observium] Auto discovery subnet
So there is no way to auto discover and add new hosts via snmp ?
I could make a loop and use add_host.php to add every subnet but I thought auto discovery will take care of that.
-----Original Message----- From: Michiel Klaver [mailto:michiel@klaver.it] Sent: 13 September 2013 10:19 To: Observium Network Observation System; Zalewski, Dominik Subject: Re: [Observium] Auto discovery subnet
At 13-09-2013 10:53, Zalewski, Dominik wrote:
Hi,
I've added below line to config.php but when I run "discovery.php -h all" it doesn't try to use snmp to find hosts on 10.0.0.0/24
$config['autodiscovery']['ip_nets'] = array("127.0.0.0/8", "10.0.0.0/24"); // Networks to permit autodiscovery
What I'm doing wrong ?
You also need to enable some protocols at your devices to do the work, discovery can be done by detecting neigbours via CDP/LLDP or routing protocols OSPF and BGP.
http://www.observium.org/wiki/Device_Autodiscovery http://www.observium.org/wiki/Configuration_Options#Auto_Discovery_Settings
To report this email as SPAM, please forward it to spam@websense.com
observium mailing list observium@observium.org http://hybrid-web.global.blackspider.com/urlwrap/?q=AXicJYzBDcIwDEXNNJyIIRKo...
To report this email as SPAM, please forward it to spam@websense.com
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Not at the moment, no.
Why not implement an auto discovery protocol? That's what they're made for :-)
Tom
On 09/13/2013 11:44 AM, Zalewski, Dominik wrote:
So there is no way to auto discover and add new hosts via snmp ?
I could make a loop and use add_host.php to add every subnet but I thought auto discovery will take care of that.
-----Original Message----- From: Michiel Klaver [mailto:michiel@klaver.it] Sent: 13 September 2013 10:19 To: Observium Network Observation System; Zalewski, Dominik Subject: Re: [Observium] Auto discovery subnet
At 13-09-2013 10:53, Zalewski, Dominik wrote:
Hi,
I've added below line to config.php but when I run "discovery.php -h all" it doesn't try to use snmp to find hosts on 10.0.0.0/24
$config['autodiscovery']['ip_nets'] = array("127.0.0.0/8", "10.0.0.0/24"); // Networks to permit autodiscovery
What I'm doing wrong ?
You also need to enable some protocols at your devices to do the work, discovery can be done by detecting neigbours via CDP/LLDP or routing protocols OSPF and BGP.
http://www.observium.org/wiki/Device_Autodiscovery http://www.observium.org/wiki/Configuration_Options#Auto_Discovery_Settings
To report this email as SPAM, please forward it to spam@websense.com
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (3)
-
Michiel Klaver
-
Tom Laermans
-
Zalewski, Dominik