LibreNMS MS teams general error

Microsoft Teams Transport - Failed (General Error)

On the file: /opt/librenms/LibreNMS/Alert/Transport/Msteams.php (Assuming that’s the path for your MSteams.php file)

Where is:

curl_setopt($curl, CURLOPT_HTTPHEADER, [
            'Content-type' => 'application/json',
            'Expect:',
        ]);

Change it to:

curl_setopt($curl, CURLOPT_HTTPHEADER, array('Content-Type:application/json', 'Expect:'));

Comments

Popular posts from this blog

Securing the Pi-hole with fail2ban to prevent DNS Amplification attacks

Reduce (shrink) and resize raw disk at Proxmox

How to clean DB from old logs in Magento 1.x