Creates a HTML formatted daily backup status report and sends via Email.
- Java
- Powershell
- Networker Management Console (NMC)
- JAVA_HOME must be set in gstclreport.bat script
- Download code from GitHub
- Note: If you don't have Git installed you can also just grab the zip: https://github.com/rbocchinfuso/networker-daily-report/archive/master.zip
git clone https://github.com/rbocchinfuso/networker-daily-report.git
-
Copy config.ini.example to config.ini
-
Update variables in config.ini file. You should update the following sections:
- Environment Info
- NMC Credentials
- Report Output Location
- Mail Settings
- Ops System Settings
Note: The "Report Generation Section" can be left unedited unless you are looking to alter the type of report generated. This will also require that modifciations are made to the nw_daily_rpt_ps1 script
Note: If you experience any issues you can validate that all variables are being properly parseded using check_vars.ps1
./check_config.ps1
- From Powershell command prompt
./nw_daily_rpt.ps1
- From Windows command prompt or from task scheduler
start powershell "& "./nw_daily_rpt.ps1"
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
- version 0.1 (initial release) - 2014/10/23
- version 0.2 (cleaned up code and documentation) - 2016/12/20
- version 0.3 (added op_events.ps1 module to parse csv and generate ops system events) - 2017/07/01
Rich Bocchinfuso <rbocchinfuso@gmail.com>
MIT License
Copyright (c) [2016] [Richard J. Bocchinfuso]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.