Page 1 of 1
Popolate private Resource Inventory
Posted: Wed Jun 29, 2016 1:23 am
by ric79
I need to populate a private Resource Inventory of a set of Cisco Routers with this data: "chassis - module - port". For example:
Chassis0
- module0 - port0 | port1 | port2
- module1 - port3 | port4 | port5 | port6
Is it possible to get this data from Nagios or from one plugin?
Thanks Riccardo
Re: Popolate private Resource Inventory
Posted: Wed Jun 29, 2016 10:03 am
by rkennedy
Could you please clarify what you're looking to do? It sounds more like you need a script to pull information one time, rather then monitoring it through Nagios.
Re: Popolate private Resource Inventory
Posted: Wed Jun 29, 2016 11:12 am
by ric79
You are right. My company already uses Nagios for monitoring Cisco routers.
My task now is to create a database with this data (chassis, module, port). I was wondering if I can use Nagios or its plugins to get that data...
R
Re: Popolate private Resource Inventory
Posted: Wed Jun 29, 2016 11:21 am
by tmcdonald
It probably *could* be used in this way, but it's not what it was designed to do. You might be able to adapt the check_snmp plugin to grab the model number for example, but then you would need to parse that out and insert it into a database. At that point you are basically writing your own software anyway. I'd look into some sort of proper inventory control system, and reserve Nagios for the monitoring of your devices.