* Add quotes around the word mail
The word 'mail' needs quotes around it so php will use it as a string instead of a variable name.
* Double quotes to Single as is in the rest
* Update OPNsense snmprec, with real data
Update OPNsense snmprec, with real data.
Data from OPNsense 20.1.2 (Latest release at time of commit)
* Update OPNsense definition due to incorrect OID
sysObjectID is incorrect for OPNsense should be .1.3.6.1.4.1.8072.3.2.8. for this snmpget detection to work.
This has been tested in my environment with 2 OPNsense Firewalls.
From: http://www.net-snmp.org/docs/mibs/UCD-SNMP-MIB.txt
As per #11235, CPU Steal graphs not appearing as LibreNMS Mib is out of date and doesn't understand the definition. This original file hasn't been updated since 2006, and this new version was last updated in 2009.
* Running Alerts colorized depending on to their severity
* extra alert styling to generic function
* .
* link from table alerts to alert_layout function
* info icon for information alert severity
* Added bad_iftype to iosxe.yaml definition
* Update Configuration.md
Updated file location from includes/defaults.inc.php to misc/config_definitions.json and added an example of OS specific bad_iftype entries.
* Added OS Specific example for ignoring interfaces and updated file location.
* Updated bad_if selection documentation
* space on type like "OOB Management" cause issue on smokeping, edit gen_smokeping script to replace dot and space
* create fonction for replace dot and space
* correct indentation
* moving function to functions.php
* correct function name
* Remove function
this should not be a function...
* Remove function
* Update gen_smokeping.php
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Created add, edit, remove location and edit, remove services to the v0 API and added their corresponding routes
* Changed repeating code by adding a function that checks for missing parameters
* Reduced the lines of add_service_for_host, modified a little more the missing fields function
* Changed True and False to true and false, erased an unused var called $missing
* Solved merged confict
Deleted duplicate functions generated when solving merge conflicts
* fixed more conficts
Deleting duplicate entries produced by trying to solve a merge conflict
* fixing more duplicate functions
This merge conflict created more duplicates
* Update api_functions.inc.php
* Update api_functions.inc.php
* Update opnsense.yaml - too add discovery method
Update opnsense.yaml for new OPNsense OID called version.
This will help with detection after the user turns on "Display Verion in OID" within OPNsense
* Re-order to reduce snmp-scan.py time
First, check sysDescr for OPNsense. Then if sysObjectID is 1.3.6.1.4.1.12325.1.1.2.1.1, run an snmpget
* Create opnsense_1.snmprec
Make up test file since data was not supplied
Co-authored-by: Tony Murray <murraytony@gmail.com>