* Fixed device SNMP edit form (and better feedback) * snmp.inc.php: Fix SNMP Edit form (better feedback) * The feedback for Max Repeaters and Max OIDs is much better. The constant false errors on save have been corrected. The are no longer applicable and muted when SNMP is turned off. Their feedback now clearly shows the user what has been done. * Rename & relabel $no_checks as $force_save (Force Save) because that's simpler and more clearly defines what the code is doing when you turn it on. * Reorder the Force Save checkbox to be right above the Save button so it's even more clear what it does. Force Save and Save are the only elements on the form that do *not* have a database setting. They're ephemeral and now grouped as such. * Embedded comments about the use of === false as tests for setAttrib() and forgetAttrib() * snmp.inc.php: code climate updates, round 1 * remove blank lines * refactor duplicate code blocks * remove join on string * move print_messages to the bottom of the form * snmp.inc.php: code climate, round 2 * avoid deeply nested control flow statements (8) * snmp.inc.php: when to $force_save and $device_isssnmable * move $force_save outside of if ($snmp_enabled) so it works properly when snmp is disabled. * only check isSNMPable() if snmp is enabled * snmp.inc.php: move $device_snmp_details * $device_snmp_details are only needed for isSNMPable(), so only call them within the same contingency * snmp.inc.php: cleanup & hardening * add SNMP Settings header (to better mimic Device Settings, etc) * use Toastr for feedback, rather than print_message & print_error * after editing, always unset($_POST) and the other variables used for editing * unless the save is forced, if !$device_issnpable then don't save *anything* in the database and revert *all* previous form settings (some already were being reverted & some weren't) * more variables were ordered alphabetically, unused variables were and removed * for snmpver, don't use .toggle(); use .hide() & .show() so the form reverts properly when it fails * snmp.inc.php: clarify placeholder for max repeaters * snmp.inc.php: code climate, round 3 * correct blank line found at the end of control structure (2) * correct space before opening parenthesis of a function call prohibited (3)
Introduction
LibreNMS is an autodiscovering PHP/MySQL/SNMP based network monitoring which includes support for a wide range of network hardware and operating systems including Cisco, Linux, FreeBSD, Juniper, Brocade, Foundry, HP and many more.
We intend LibreNMS to be a viable project and community that:
- encourages contribution,
- focuses on the needs of its users, and
- offers a welcoming, friendly environment for everyone.
The Debian Social Contract will be the basis of our priority system, and mutual respect is the basis of our behaviour towards others. For more about the culture we're trying to build, please read the Freenode philosophy, including guidelines for running an IRC channel and being a community catalyst.
Documentation
Documentation can be found in the doc directory or docs.librenms.org, including instructions for installing and contributing.
Participating
You can participate in the project by:
- Talking to us on Discord or Twitter.
- Joining the LibreNMS Community
- Improving the documentation.
- Cloning the repo and filing pull requests on github.
- Bug Reports on our Community Fourms
- See CONTRIBUTING for more details.
VM image
You can try LibreNMS by downloading a VM image. Currently, a Ubuntu-based image is supplied and has been tested with VirtualBox.
Download one of the VirtualBox images we have available, documentation is provided which details login credentials and setup details.
License
Copyright (C) 2006-2012 Adam Armstrong adama@memetic.org
Copyright (C) 2013-2017 by individual LibreNMS contributors
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
LICENSE.txt contains a copy of the full GPLv3 licensing conditions.
The following additional license conditions apply to LibreNMS (a GPL exception):
As a special exception, you have permission to link or otherwise combine LibreNMS with the included copies of the following third-party software, and distribute modified versions, as long as you follow the requirements of the GNU GPL v3 in regard to all of the remaining software (comprising LibreNMS).
Please see Acknowledgements
Backers
Support us with a monthly donation and help us continue our activities. [Become a backer]
Sponsors
Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]

