Changes between Version 10 and Version 11 of Nmm2022/Agenda/oxidize
- Timestamp:
- Jul 6, 2022, 11:22:32 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Nmm2022/Agenda/oxidize
v10 v11 65 65 }}} 66 66 67 Change the configuration file by adding / updating the following information. Replace '''oxidized ''', '''cisco''' (telnet/ssh username), '''123''' (telnet/ssh password), '''09db454fb0ec6927c777e214c2f82d60''' (LibreNMS token value) with your corresponding values. ''Interval'' value (in seconds) is the ''auto refresh interval'' (you can change that one).67 Change the configuration file by adding / updating the following information. Replace '''oxidizedfor''' (gmail), '''cisco''' (telnet/ssh username), '''123''' (telnet/ssh password), '''09db454fb0ec6927c777e214c2f82d60''' (LibreNMS token value) with your corresponding values. ''Interval'' value (in seconds) is the ''auto refresh interval'' (you can change that one). 68 68 69 69 {{{ … … 125 125 type: exec 126 126 events: [post_store] 127 cmd: '/home/oxidized/.config/oxidized/oxidized-report-git-commits -s "Oxidized updates for ${OX_NODE_NAME}" -r oxidized @gmail.com'127 cmd: '/home/oxidized/.config/oxidized/oxidized-report-git-commits -s "Oxidized updates for ${OX_NODE_NAME}" -r oxidizedfor@gmail.com' 128 128 async: true 129 129 timeout: 120 … … 232 232 }}} 233 233 234 Add the following content to /etc/postfix/sasl_passwd while changing '''oxidized ''' and '''gecqeehdvtrrsed5''' (app password).235 {{{ 236 [smtp.gmail.com]:587 oxidized @gmail.com:gecqeehdvtrrsed5234 Add the following content to /etc/postfix/sasl_passwd while changing '''oxidizedfor''' and '''gecqeehdvtrrsed5''' (app password). 235 {{{ 236 [smtp.gmail.com]:587 oxidizedfor@gmail.com:gecqeehdvtrrsed5 237 237 }}} 238 238 … … 245 245 }}} 246 246 247 Check email sending. Replace '''oxidized''' accordingly. 248 {{{ 249 echo "Test Postfix Gmail SMTP Relay" | mail -s "Postfix Gmail SMTP Relay" oxidized@gmail.com 250 }}} 251 sed 252 An email will be sent to the Gmail account after a saved configuration change at each time Oxidized get refreshed. 247 Check email sending. Replace '''oxidizedfor''' accordingly. 248 {{{ 249 echo "Test Postfix Gmail SMTP Relay" | mail -s "Postfix Gmail SMTP Relay" oxidizedfor@gmail.com 250 }}} 251 An email will be sent to the Gmail account after a saved configuration change, when Oxidized get refreshed.