this is how we do it, include a separate file in config.php which is a list of all our sitenames(which all our devices use in SNMP sysLocation) and map them to the real adress.
works like a charm :)

/Markus

2015-11-18 9:08 GMT+01:00 Tom Laermans <tom.laermans@powersource.cx>:
Peter,

You can also map location A to location B using the config file - if they are not consistent with what you want, but they are consistent in their own way and you can do static mapping you'd be saved I think:

$config['location_map']['Main Datacenter'] = "Big Datacenter, 16 Shrimponthebarbiestreet, Melbourne, Ozzieland";

Tom


On 18/11/2015 04:08, Peter.Hine@familycourt.gov.au wrote:

for my part, i have the same problem - as the comms people use their own
conventions in sysLocation (if they use it at all). so pushing updates to
devices isn't always the answer.

so i don't control the cisco devices. i do the iDRACs, but they don't use
sysLocation.

I updated the locations as i slowly added the devices on, to reduce the
work load, but i always wanted a script. useful for adding on adding a new
physical site.

thanks

Peter Hine
Senior Technical Support Engineer (Servers)
FCoA ITS
peter.hine@familycourt.gov.au





From:   Nick Schmalenberger <nick@schmalenberger.us>
To:     Observium Network Observation System <observium@observium.org>
Date:   18/11/2015 14:03
Subject:        Re: [Observium] Setting Location
Sent by:        "observium" <observium-bounces@observium.org>



On Tue, Nov 17, 2015 at 06:15:47PM -0800, Aaron Finney wrote:
Neither the webui nor the console menu system is fun for 300+ PDUs. :)

If these were server nodes, I'd just use salt to update the location by
cluster. With network devices we can push it using rancid. With the
PDUs...we're stuck.


It is possible to push configs to APC PDUs by ftp, and this
person has used it with rancid...
http://www.gossamer-threads.com/lists/rancid/users/6627
I don't use that with rancid myself, but I have pushed configs to
my PDUs with ftp (for syslog).
-Nick
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium



**********************************************************************
The information contained in this e-mail (including any attachments)
is for the exclusive use of the addressee. If you are not the intended
recipient please notify the sender immediately and delete this e-mail.
It is noted that legal privilege is not waived because you have read
this e-mail.
**********************************************************************

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium