This is a notice to let users know that the addhost.php script is being removed once 25.6.0 is merged in, in about a 10 days time.
A deprecation notice has been output when using that script for nearly a year now asking people to move to using lnms device:add
so we hope that everyone has migrated away from the old method when using it via scripts, automation or just manually.
If you haven’t yet moved over to using lnms, please see this example that might help:
Old:
./addhost.php <hostname> <community> <snmp version>
./addhost.php localhost librenms v2c
New:
lnms device:add --<snmp version> -c <community> <hostname>
lnms device:add --v2c -c librenms localhost