Netscreen Config Backup

Bookmark and Share

Current Version
1.0
Last Release Date
2012-02-18
Compatible With
  • Nagios 3.x
E-mail
License
GPL
Hits
6269
Files:
FileDescription
check_netscreen_configcheck_netscreen_config
Bash script as plugin to get Netscreen configurations through SCP, check if it has been changed recently and back it up with versioning by modification date.
Tested successfully on Juniper Netscreen SGG5 firewall and Nagios 3.
No perfdata since its not needed!

Requirements: SCP enabled on Netscreen with DSA-key auto login.

Prequisities:
* Create DSA key for user Nagios on server.
* Create [USER] user on Netscreen with Read only permissions from web:conf> admin> admins> new
* Add Nagios user public key to Netscreen from web:conf> admin> admins> configure-"ssh pka"> add
* Enable SCP on Netscreen from web:conf> admin> mngmnt> checkbox_enable_scp
* Edit following variables for USER,NETSCREEN_IP, BACKUP_PATH and others, if you want.

You can freely contact me via email or LinkedIn for more help.