Add an specific port control,service port,to libreNMS

Hello, i want to realize a plugin for changing ports status, add/modify/delete end user CPE(ONT) , etc like a Network Management System .
Why via plugin - because i want to get an info(ips, SNMP community ) from main libreNMS system and add history for what user do and etc.

Does anybody knows an example plugins and/or documentation how to do this properly ?

    ./validate.php
    ==========================================================
    Component | Version
    --------- | -------
    LibreNMS  | d30e5660f942154bd72c1b3f6ff3846d3c1b7137
    DB Schema | 199
    PHP       | 7.0.18-0ubuntu0.16.04.1
    MySQL     | 10.0.29-MariaDB-0ubuntu0.16.04.1
    RRDTool   | 1.5.5
    SNMP      | NET-SNMP 5.7.3
    ==========================================================

naimson,

See here --> http://docs.librenms.org/Extensions/Plugin-System/

Thanks for reply , but there is too few information about system hooks, do you know some work example plugin or opensourse plugin?

here is the best i can do with example - https://gitlab.com/sindrel/librenms-overview

The plugin system is nothing more than writing code, it has no hooks as it was never developed past the proof of concept stage.

You should add this support directly to the code base and submit the changes upstream.

From there can i fully iterate(calling methods and functions ) with librenms core?

You can use everything available within the codebase.