
Hi all, My first post here. First I must say that Observium is the most easy looking open source tool I have ever seen :)
I'm trying to figure out a few config items that maybe someone can help me with.
Autodiscovery If I'm using $config['autodiscovery']['xdp'] = TRUE; and $config['autodiscovery']['snmpscan'] = TRUE; First it does not seems to add any devices discovered with LLDP/CDP, nor have I found a way to do a snmpscan based on my subnets (also added)
1.) Does Autodiscover work as the config file says the feature is not yet added?
PTR/DNS Does observium require a PTR record for every device or just a valid host name trough SNMP? How about FQDN?
WMI Seems to be a topic not much covered and not really supported, however in the modules section of a device, let's say a server one can find an on/off switch for WMI and also a settings page. Does this mean WMI is somewhat supported or just a GUI glitch?
Thanks

for CDP/LLDP autodiscovery to work you need this: 1) device address is inside the subnet(s) added in $config['autodiscovery']['ip_nets'] 2) device configured hostname match DNS hostname 3) device domain-name match DNS domain
for exampel if you have a cisco switch with dns address: switch1.mgmt.company.com you need to have this config in the swtich: hostname switch1 ip domain-name mgmt.company.com
Observium will get hostname and domain name via CDP/LLDP and then try to resolve it.
For OSPF/BGP autodiscovery you will also need PTR to match as observium will find a OSPF peer with address 192.168.58.1 and then looks for PTR for that address before it can be added.
/Markus
2015-04-17 14:16 GMT+02:00 Anders Johansson Anders.Johansson@direktorn.com :
Hi all,
My first post here. First I must say that Observium is the most easy looking open source tool I have ever seen J
I’m trying to figure out a few config items that maybe someone can help me with.
*Autodiscovery*
If I’m using $config['autodiscovery']['xdp'] = TRUE; and $config['autodiscovery']['snmpscan'] = TRUE;
First it does not seems to add any devices discovered with LLDP/CDP, nor have I found a way to do a snmpscan based on my subnets (also added)
1.) Does Autodiscover work as the config file says the feature is not yet added?
*PTR/DNS*
Does observium require a PTR record for every device or just a valid host name trough SNMP? How about FQDN?
*WMI *
Seems to be a topic not much covered and not really supported, however in the modules section of a device, let’s say a server one can find an on/off switch for WMI and also a settings page.
Does this mean WMI is somewhat supported or just a GUI glitch?
Thanks
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

FQDN's (or at least resolvable by /etc/hosts) is required.
*Spencer Ryan* | Senior Systems Administrator | sryan@arbor.net *Arbor Networks* +1.734.794.5033 (d) | +1.734.846.2053 (m) www.arbornetworks.com
On Fri, Apr 17, 2015 at 8:16 AM, Anders Johansson < Anders.Johansson@direktorn.com> wrote:
Hi all,
My first post here. First I must say that Observium is the most easy looking open source tool I have ever seen J
I’m trying to figure out a few config items that maybe someone can help me with.
*Autodiscovery*
If I’m using $config['autodiscovery']['xdp'] = TRUE; and $config['autodiscovery']['snmpscan'] = TRUE;
First it does not seems to add any devices discovered with LLDP/CDP, nor have I found a way to do a snmpscan based on my subnets (also added)
1.) Does Autodiscover work as the config file says the feature is not yet added?
*PTR/DNS*
Does observium require a PTR record for every device or just a valid host name trough SNMP? How about FQDN?
*WMI *
Seems to be a topic not much covered and not really supported, however in the modules section of a device, let’s say a server one can find an on/off switch for WMI and also a settings page.
Does this mean WMI is somewhat supported or just a GUI glitch?
Thanks
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

Hi....
Just a silly question. I was googling around for number but could not find meaningful reallife data.
I am running now an observium instance for about a year. I am polling presently 22 serves, 14 switches and 1 printer. Alltogether 1004 ports. My mysql database is now 189 GB big. I need to resize my filesystem soon.
Attached you can also find my statistics output from observium
Is this database size normal? How big can it grow? in one year? In 2 years? Is there an upper ceiling? What are your database sizes (maybe in a similar scenario)?
Thanks for your help,
Roland

Hi,
Try running the housekeeping script to remove old data.
./housekeeping.php -a -A 6M
This will cleanup old syslog entries, events, alert logs, deleted ports, timing data and old RRD files (-a) all information older than 6 Months.
Run it as ./housekeeping.php -h to see all the options.
Regards
Bruce
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Roland Schwingel Sent: Tuesday, 28 April 2015 18:41 To: Observium Network Observation System Subject: [Observium] observium database size
Hi....
Just a silly question. I was googling around for number but could not find meaningful reallife data.
I am running now an observium instance for about a year. I am polling presently 22 serves, 14 switches and 1 printer. Alltogether 1004 ports. My mysql database is now 189 GB big. I need to resize my filesystem soon.
Attached you can also find my statistics output from observium
[cid:image001.gif@01D081E5.19942EE0]
Is this database size normal? How big can it grow? in one year? In 2 years? Is there an upper ceiling? What are your database sizes (maybe in a similar scenario)?
Thanks for your help,
Roland

It's a lot.
We a lot more devices on our setup. Running since September and here are our stats :
# du -h --max-depth=1 obs (mysql db) 13G obs
[cid:image002.png@01D081BB.40FF6050]
// ### HOUSEKEEPING ### $config['housekeeping']['syslog']['age'] = "1w"; // Maximum age of syslog entries; 0 to disable $config['housekeeping']['eventlog']['age'] = "1M"; // Maximum age of eventlog entries; 0 to disable $config['housekeeping']['alertlog']['age'] = "1M"; // Maximum age of alert log entries; 0 to disable $config['housekeeping']['deleted_ports']['age'] = "1M"; // Maximum age of deleted ports before automatically purging; 0 to disable $config['housekeeping']['rrd']['age'] = "1M"; // Maximum age of unused rrd files before automatically purging; 0 to disable $config['housekeeping']['rrd']['invalid'] = TRUE; // Delete .rrd files that are not valid RRD files (eg created with a full disk) $config['housekeeping']['timing']['age'] = "1M"; // Maximum age of timing (discovery and poll time) entries; 0 to disable
De : observium [mailto:observium-bounces@observium.org] De la part de Bruce Guthrie Envoyé : mardi 28 avril 2015 10:57 À : Observium Network Observation System Objet : Re: [Observium] observium database size
Hi,
Try running the housekeeping script to remove old data.
./housekeeping.php -a -A 6M
This will cleanup old syslog entries, events, alert logs, deleted ports, timing data and old RRD files (-a) all information older than 6 Months.
Run it as ./housekeeping.php -h to see all the options.
Regards
Bruce
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Roland Schwingel Sent: Tuesday, 28 April 2015 18:41 To: Observium Network Observation System Subject: [Observium] observium database size
Hi....
Just a silly question. I was googling around for number but could not find meaningful reallife data.
I am running now an observium instance for about a year. I am polling presently 22 serves, 14 switches and 1 printer. Alltogether 1004 ports. My mysql database is now 189 GB big. I need to resize my filesystem soon.
Attached you can also find my statistics output from observium
[cid:image003.gif@01D081BB.40FF6050]
Is this database size normal? How big can it grow? in one year? In 2 years? Is there an upper ceiling? What are your database sizes (maybe in a similar scenario)?
Thanks for your help,
Roland

Looks like someone added DB and RRD size to the About page for us. Here's ours:
[cid:image001.png@01D0818C.8A232CF0]
We have 5 servers, 48 network, 1 wireless, 1 firewall, 34 power, 1 voip, and 1 storage devices. -- Cameron Moore
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Roland Schwingel Sent: Tuesday, April 28, 2015 3:41 AM To: Observium Network Observation System Subject: [Observium] observium database size
Hi....
Just a silly question. I was googling around for number but could not find meaningful reallife data.
I am running now an observium instance for about a year. I am polling presently 22 serves, 14 switches and 1 printer. Alltogether 1004 ports. My mysql database is now 189 GB big. I need to resize my filesystem soon.
Attached you can also find my statistics output from observium
[cid:image002.gif@01D0818C.8A232CF0]
Is this database size normal? How big can it grow? in one year? In 2 years? Is there an upper ceiling? What are your database sizes (maybe in a similar scenario)?
Thanks for your help,
Roland

Moore, Cameron wrote at 28-04-2015 15:23:
Looks like someone added DB and RRD size to the About page for us. Here’s ours:
it was added this morning, in response to this actual topic :)
Author: mike Date: 2015-04-28 11:38:02 +0200 (Tue, 28 Apr 2015) New Revision: 6401
Modified: observium/trunk/html/pages/about.inc.php observium/trunk/includes/common.inc.php observium/trunk/includes/definitions/os.inc.php Log: [TRIVIAL] Added common functions get_dir_size() and get_db_size(). Added info about current DB and RRD sizes on about page.

On 28.04.2015 16:38, Michiel Klaver wrote:
Moore, Cameron wrote at 28-04-2015 15:23:
Looks like someone added DB and RRD size to the About page for us. Here’s ours:
it was added this morning, in response to this actual topic :)
;)
Author: mike Date: 2015-04-28 11:38:02 +0200 (Tue, 28 Apr 2015) New Revision: 6401
Modified: observium/trunk/html/pages/about.inc.php observium/trunk/includes/common.inc.php observium/trunk/includes/definitions/os.inc.php Log: [TRIVIAL] Added common functions get_dir_size() and get_db_size(). Added info about current DB and RRD sizes on about page.
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

hello,
On 2015/04/28 16:21, Mike Stupalov wrote:
it was added this morning, in response to this actual topic
you are great!
here an open caveat I have about db and rrd size (and that may hit others too): we have many ppp connections which create each time a new (virtual) interface on the routers: observium each time discover new interfacese, create rrds (and db records) and THEN delete them from the db (as they are marked as "bad_iftype" and/or "bad_if_regexp").
of course I have a scheduled housekeeping.php to delete all these rrds, but it's a waste of i/o to create thousands unused of rrds.
any hints?
participants (10)
-
Anders Johansson
-
Bruce Guthrie
-
emilio brambilla
-
Markus Klock
-
Mathieu POUSSIN
-
Michiel Klaver
-
Mike Stupalov
-
Moore, Cameron
-
Roland Schwingel
-
Ryan, Spencer