Changes between Version 4 and Version 5 of Nmm2022/Agenda/oxidize


Ignore:
Timestamp:
Jun 27, 2022, 11:52:37 AM (2 years ago)
Author:
dushmantha
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Nmm2022/Agenda/oxidize

    v4 v5  
    77
    88Ubuntu 20.04 Server with LibreNMS installed (Use the provided VM)
     9Gmail account with 2-Step Verification ''On''.
    910
    1011'''Oxidized Installation'''
     
    4445}}}
    4546
     47Start oxidised service
     48
     49{{{
     50systemctl start oxidized
     51}}}
     52
     53Restart oxidised service
     54
     55{{{
     56systemctl restart oxidized
     57}}}
     58
     59View status of oxidised service
     60
     61{{{
     62systemctl status oxidized
     63}}}
     64
    4665'''LibreNMS Integration'''
    4766
    48 Create Token
     67''Create Token''
    4968
    5069Login to LibreNMS web GUI.
     
    5372[[Image(librenms api settings.png, 600px)]][[BR]]
    5473
    55 Click on 'Create API access token'.
     74Click on 'Create API access token'.[[BR]]
    5675
     76[[Image(librenms create token.png, 600px)]][[BR]]
     77
     78Click 'Create API Token'.
    5779
    5880'''Postfix Installation'''
     
    6486}}}
    6587
     88Select ''Internet Site'' to enable Postfix to sent and receive mails and press ''Enter'' to proceed.
     89
     90Put a suitable ''domain name'' for ''System mail name'' and proceed.
     91
    6692'''Postfix Configuration'''
     93
     94Here Postfix will be configured to send email to your Gmail account.
     95
     96{{{
     97vim /etc/postfix/main.cf
     98}}}
     99
     100{{{
     101smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
     102smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
     103smtpd_tls_security_level=may
     104
     105smtp_tls_CApath=/etc/ssl/certs
     106smtp_tls_security_level=may
     107smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
     108smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
     109
     110smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
     111myhostname = librenms
     112alias_maps = hash:/etc/aliases
     113alias_database = hash:/etc/aliases
     114myorigin = /etc/mailname
     115mydestination = $myhostname, librenms-demo.com, librenms, localhost.localdomain, localhost
     116relayhost = [smtp.gmail.com]:587
     117mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
     118mailbox_size_limit = 0
     119recipient_delimiter = +
     120inet_interfaces = all
     121inet_protocols = all
     122smtp_sasl_auth_enable = yes
     123smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
     124smtp_sasl_security_options = noanonymous
     125}}}
    67126
    68127
    69128
    70129
     130