-1

I am connected via zabbix to network devices e.g. Routers, FWs etc. via SNMP and we can monitor resources such as interfaces, CPUs etc.

Now I need to fetch the configuration file of these devices via the same protocol (SNMP). Can anyone help how to accomplish that!

I have found this article which shows that it is possible, but i don't know how to implement it

https://community.cisco.com/t5/network-management/using-snmp-for-fetching-running-config/td-p/1035527

  • Network administration questions belong to ServerFault. You need to reveal why it appears here. – Lex Li Feb 27 '23 at 16:31
  • where they appear! I didn't understand, and i am rarely posting on stackOverflow, so pardon me for any mistakes – Arafat Absi Mar 02 '23 at 16:47

1 Answers1

0

Che CISCO-CONFIG-COPY-MIB you linked shows how to implement a snmp+tftp implementation, but IMHO it's not the way to go.

Zabbix is a monitoring platform, not a network management: you should use a different solution.

You should use something like Rancid or a commercial solution like Solarwind.

Simone Zabberoni
  • 2,024
  • 1
  • 10
  • 15
  • What do you mean by IMHO please, and are you thinking it is not possible to fetch file by SNMP alone – Arafat Absi Feb 27 '23 at 10:33
  • But as i am able to retrive interfaces status and many things using SNMP why not to retrive files or config via SNMP? – Arafat Absi Feb 27 '23 at 10:47
  • IMHO stands for “in my humble opinion”. SNMP is used (mostly) for monitoring by retrieving objects (values by oid, like inoctets of an interface), while config files are universally transferred via ftp/tftp/scp/https : different tasks, different protocols, different suites of tools. – Simone Zabberoni Feb 27 '23 at 12:00
  • I am accepting your answer as the correct one, but is there an OID for running or startup configuration of network elements for all vendors! BTW, we are using Huauwei devices. – Arafat Absi Mar 02 '23 at 16:46