librenms/librenms

View on GitHub
LibreNMS/OS/Openbsd.php

Summary

Maintainability
A
1 hr
Test Coverage

Method pollOS has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function pollOS(DataStorageInterface $datastore): void
    {
        $oids = \SnmpQuery::get([
            'OPENBSD-PF-MIB::pfStateCount.0',
            'OPENBSD-PF-MIB::pfStateSearches.0',
Severity: Minor
Found in LibreNMS/OS/Openbsd.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status