Entity_ID mismatch causing VictorOps alerts not to recover correctly



Component Version
LibreNMS 1.46
DB Schema 272
PHP 7.2.5
MySQL 10.1.31-MariaDB
RRDTool 1.6.0


[OK] Composer Version: 1.8.0
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

Hey All,

Having an issue where the entity_ID that is being sent to VictorOps is not matching between the critical and recovery alerts sent from LibreNMS. This causes the VictorOps alert to stay “open” even though the recovery alert was sent. Victor Ops uses the entity_ID to sync notifications from LibreNMS.


Probably as simple as this, please try this patch:



We have the same issue. The patch you mention did not resolve it for us.

If I can help in any way to make this work, let me know.


We ended up going with PagerDuty for the alerts as it has this functionality of the box. Can’t be beat! Curious to see if anyone fixed it though.