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
Popolate private Resource Inventory
Re: Popolate private Resource Inventory
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.
Former Nagios Employee
Re: Popolate private Resource Inventory
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
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
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.
Former Nagios employee