/openbmc/openbmc-test-automation/redfish/events/ |
H A D | test_bmc_snmp_trap.robot | 2 Documentation This testing requires special setup where SNMP trapd is 4 ... configuration refer http://www.net-snmp.org/. 7 Resource ../../lib/snmp/resource.robot 8 Resource ../../lib/snmp/redfish_snmp_utils.robot 22 Configure SNMP Manager On BMC And Verify 23 [Documentation] Configure SNMP manager on BMC via Redfish and verify. 25 [Teardown] Delete SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT} 27 Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT} ${HTTP_CREATED} 29 Verify SNMP Manager Configured On BMC ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT} 32 Configure SNMP Manager On BMC With Non Default Port And Verify [all …]
|
H A D | test_bmc_snmp_config.robot | 2 Documentation This testing requires special setup where SNMP trapd is 4 ... configuration refer http://www.net-snmp.org/. 6 Resource ../../lib/snmp/resource.robot 7 Resource ../../lib/snmp/snmp_utils.robot 39 Configure SNMP Manager On BMC And Verify 40 [Documentation] Configure SNMP Manager On BMC And Verify. 43 Configure SNMP Manager On BMC ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT} Valid 44 Verify SNMP Manager ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT} 46 Delete SNMP Manager And Object ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT} 48 Configure SNMP Manager On BMC With Non Default Port And Verify [all …]
|
/openbmc/openbmc-test-automation/gui/gui_test/settings_menu/ |
H A D | test_snmp_alerts_sub_menu.robot | 3 Documentation Test OpenBMC GUI "SNMP Alerts" sub-menu of "Settings". 5 Resource ../../../lib/snmp/redfish_snmp_utils.robot 6 Resource ../../../lib/snmp/resource.robot 17 ${xpath_snmp_alerts_sub_menu} //*[@data-test-id='nav-item-snmp-alerts'] 18 ${xpath_snmp_alerts_heading} //h1[text()="SNMP alerts"] 21 ${xpath_snmp_alert_destination_heading} //h5[contains(text(),'Add SNMP alert destination'… 29 ${snmp_page_heading} SNMP alerts 31 ${invalid_destination_error} Error in adding SNMP alert destination 38 Verify Navigation To SNMP Alerts Page 39 [Documentation] Verify navigation to SNMP alerts page. [all …]
|
/openbmc/openbmc-test-automation/lib/snmp/ |
H A D | snmp_utils.robot | 2 Documentation Utilities for SNMP testing. 9 Get SNMP URI List 10 [Documentation] Get all SNMP URIs and return them as list. 14 # "/xyz/openbmc_project/network/snmp/manager/e9767624", 15 # "/xyz/openbmc_project/network/snmp/manager/31f4ce8b" 22 Configure SNMP Manager On BMC 23 [Documentation] Configure SNMP manager on BMC. 27 # snmp_ip SNMP manager IP. 28 # port Network port where SNMP manager is listening. 29 # expected_result Expected status of SNMP configuration. [all …]
|
H A D | redfish_snmp_utils.robot | 1 Documentation Utility for SNMP configurations via Redfish. 37 Get SNMP Manager List 38 [Documentation] Get the list of SNMP managers and return IP addresses and ports. 40 # Get the list of SNMP manager URIs. 41 @{snmp_mgr_uris}= Get SNMP Child URIs 51 # "Destination": "snmp://xx.xx.xx.xx:162", 66 Configure SNMP Manager Via Redfish 67 [Documentation] Configure SNMP manager on BMC via Redfish. 71 # snmp_mgr_ip SNMP manager IP address 72 # snmp_port SNMP manager port [all …]
|
/openbmc/phosphor-snmp/docs/ |
H A D | snmp-configuration.md | 1 # SNMP trap 5 phosphor-snmp currently only supports sending traps for error log entries. 9 to generate the SNMP trap. 14 Other OpenBMC applications can still send the SNMP trap as needed. These 25 [MIB]: https://github.com/openbmc/phosphor-snmp/tree/master/mibs 27 The phosphor-snmp repository exposes the following lib and the D-Bus service 29 libsnmp: Exposes the API to send the SNMP trap phosphor-network-snmpconf: Used 30 for configuring the SNMP manager(Client). 32 ## SNMP Manager Configuration 34 The administrator can configure one or more SNMP managers to receive the OpenBMC [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/net-snmp/ |
H A D | net-snmp_5.9.4.bb | 2 HOMEPAGE = "http://www.net-snmp.org/" 11 SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.tar.gz \ 18 file://0001-net-snmp-add-knob-whether-nlist.h-are-checked.patch \ 19 file://0002-net-snmp-fix-libtool-finish.patch \ 25 file://0008-net-snmp-fix-engineBoots-value-on-SIGHUP.patch \ 26 file://0009-net-snmp-fix-for-disable-des.patch \ 27 file://0010-net-snmp-Reproducibility-Don-t-check-build-host-for.patch \ 34 UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/net-snmp/files/net-snmp/" 35 UPSTREAM_CHECK_REGEX = "/net-snmp/(?P<pver>\d+(\.\d+)+)/" 37 CVE_PRODUCT = "net-snmp:net-snmp" [all …]
|
/openbmc/phosphor-webui/app/configuration/controllers/ |
H A D | snmp-controller.html | 2 <div id="configuration-snmp" class="page"> 3 <h1 class="page-title">SNMP settings</h1> 6 Set the Simple Network Management Protocol (SNMP) with a host name or IP 25 <div class="small-12 medium-5 large-4 form__field snmp-field"> 27 for="snmp-manager{{ $index + 1 }}-address" 32 id="snmp-manager{{ $index + 1 }}-address" 33 name="snmp-manager{{ $index + 1 }}-address" 39 ng-messages="manager_group['snmp-manager'+($index+1)+'-address'].$error" 41 … ng-class="{'visible': manager_group['snmp-manager'+($index+1)+'-address'].$touched || submitted}"> 45 <div class="small-9 medium-5 large-4 form__field snmp-field"> [all …]
|
/openbmc/phosphor-snmp/ |
H A D | snmp_notification.hpp | 2 * @brief SNMP Error Notification class. 4 * This file is part of phosphor-snmp project. 26 // net-snmp requires a very specific header include order. 29 #include <net-snmp/net-snmp-config.h> 30 #include <net-snmp/net-snmp-includes.h> 31 #include <net-snmp/agent/net-snmp-agent-includes.h> 44 namespace snmp namespace 52 // Generic snmp trap ID 101 * to the configured SNMP manager. 114 /** @brief Send the snmp trap to the configured [all …]
|
H A D | snmp_serialize.hpp | 11 namespace snmp namespace 18 /** @brief Serialize and persist SNMP manager/client D-Bus object. 19 * @param[in] id - filename of the persisted SNMP manager object. 20 * @param[in] manager - const reference to snmp client/manager object. 23 * @return fs::path - pathname of persisted snmp manager/client file. 27 /** @brief Deserialize SNMP manager/client info into a D-Bus object 29 * @param[in] manager - reference to snmp client/manager object 35 } // namespace snmp
|
H A D | snmp_conf_manager.hpp | 14 namespace snmp namespace 30 * @brief OpenBMC SNMP config implementation. 48 /** @brief Function to create snmp manager details D-Bus object. 67 * @param[in] address - SNMP manager address. 68 * @param[in] port - SNMP manager port. 84 /** @brief map of SNMP Client dbus objects and their ID */ 87 /** @brief Id of the last SNMP manager entry */ 93 } // namespace snmp
|
H A D | meson.build | 2 'phosphor-snmp', 15 conf_data.set_quoted('BUSNAME_NETWORK_SNMP', 'xyz.openbmc_project.Network.SNMP') 18 '/xyz/openbmc_project/network/snmp/manager', 22 '/var/lib/phosphor-snmp/managers/', 97 'snmp', 116 description: 'Phosphor snmp utilities', 119 install_headers('snmp.hpp', 'snmp_notification.hpp', subdir: '.')
|
H A D | snmp_notification.cpp | 13 namespace snmp namespace 87 lg2::error("Unable to get the snmp session: {SNMPMANAGER}", in sendTrap() 113 lg2::error("Failed to add the SNMP var(systime)"); in sendTrap() 128 lg2::error("Failed to add the SNMP var(trapID)"); in sendTrap() 140 lg2::error("Failed to add the SNMP var"); in sendTrap() 148 lg2::error("Failed to send the snmp trap."); in sendTrap() 152 lg2::debug("Sent SNMP Trap: {MGR}", "MGR", mgr); in sendTrap() 156 } // namespace snmp
|
/openbmc/ipmitool/contrib/ |
H A D | bmc-snmp-proxy.sysconf | 1 # bmc-snmp-proxy 3 # Config file to control SNMP redirection between 6 # bmc-snnmp-proxy helps redirect certain SNMP requests (to this host) 8 # SNMP community string and the OID of the Service Processor's SNMP agent. 17 ### Configure SNMP proxy to BMC/Service Processor ### 19 ### Service Processor/BMC SNMP Community String. 22 # SNMP agent. 29 # Description: SNMP OID that we would like to redirect to the Service
|
/openbmc/bmcweb/redfish-core/include/ |
H A D | snmp_trap_event_clients.hpp | 60 boost::urls::format("snmp://{}:{}", address, port); in afterGetSnmpTrapClientdata() 83 "xyz.openbmc_project.Network.SNMP", objectPath, in getSnmpTrapClientdata() 111 BMCWEB_LOG_ERROR("The SNMP client ID is wrong"); in getSnmpTrapClient() 115 const std::string subscriptionId = "snmp" + snmpId; in getSnmpTrapClient() 128 "xyz.openbmc_project.Network.SNMP", in getSnmpTrapClient() 129 "/xyz/openbmc_project/network/snmp/manager", in getSnmpTrapClient() 153 // SNMP not installed in afterSnmpClientCreate() 170 std::string subscriptionId = "snmp" + snmpId; in afterSnmpClientCreate() 188 "xyz.openbmc_project.Network.SNMP", in addSnmpTrapClient() 189 "/xyz/openbmc_project/network/snmp/manager", in addSnmpTrapClient() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/openhpi/files/ |
H A D | openhpi-netsnmp-cross-compile.patch | 1 Fix net-snmp when cross-compiling 3 Remove irrelevant references to net-snmp libs and flags 4 when cross-compiling net-snmp 24 - SNMPFLAGS=`${net_snmp_config:-net-snmp-config} --cflags | perl -p -e 's/ -O\S*//g'` 25 - SNMPLIBS=`${net_snmp_config:-net-snmp-config} --libs` 30 [AC_MSG_RESULT(no. No SNMP based plugins can be built!)]) 39 - SNMPFLAGS=`${net_snmp_config:-net-snmp-config} --cflags | perl -p -e 's/ -O\S*//g'` 40 - SNMPLIBS=`${net_snmp_config:-net-snmp-config} --libs`
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/network/ |
H A D | phosphor-snmp_git.bb | 1 SUMMARY = "SNMP Manager Configuration" 2 DESCRIPTION = "SNMP Manager Configuration." 3 HOMEPAGE = "http://github.com/openbmc/phosphor-snmp" 10 DEPENDS += "net-snmp" 15 SRC_URI = "git://github.com/openbmc/phosphor-snmp;branch=master;protocol=https" 27 DBUS_SERVICE:${PN} += "xyz.openbmc_project.Network.SNMP.service"
|
/openbmc/openbmc-test-automation/gui/test/server_config/ |
H A D | test_obmc_gui_snmp_settings.robot | 3 Documentation Test OpenBMC GUI "SNMP settings" sub-menu of "Server configuration". 19 Verify Existence Of All Sections In SNMP Page 20 [Documentation] Verify existence of all sections in SNMP page. 26 Verify Existence Of All Buttons In SNMP Page 27 [Documentation] Verify existence of all buttons in SNMP page. 44 Wait Until Page Contains SNMP settings
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/dbus/ |
H A D | snmp-policy.bb | 1 SUMMARY = "snmp policy configuration for meta-ibm machines" 11 SRC_URI += "file://snmp-config.yaml" 14 install -D ${UNPACKDIR}/snmp-config.yaml ${D}${config_dir}/snmp-config.yaml 17 FILES:${PN} += "${config_dir}/snmp-config.yaml"
|
/openbmc/phosphor-snmp/test/ |
H A D | test_snmp_conf_manager.cpp | 12 namespace snmp namespace 15 auto managerObjPath = "/xyz/openbmc_test/snmp/manager"; 27 // TODO: https://github.com/openbmc/phosphor-snmp/issues/5 85 // Add single SNMP client 101 // Add multiple SNMP client 121 // Add duplicate SNMP client 128 // Delete SNMP client 152 } // namespace snmp
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | ManagerNetworkProtocol.v1_10_1.json | 291 "SNMP": { object 293 "description": "The settings for this manager's SNMP support.", 294 …"longDescription": "This object shall contain the SNMP protocol settings for this manager. The de… 571 "CommunityString": "SNMP community string authentication.", 581 … "CommunityString": "This value shall indicate authentication uses SNMP community strings.", 599 "description": "An SNMP community strings.", 600 …"longDescription": "This object shall contain an SNMP community string used to access an SNMP mana… 625 "description": "The access level of the SNMP community.", 626 … property shall contain the access/privilege level of the SNMP community used to access an SNMP ma… 631 "description": "The SNMP community string.", [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | ManagerNetworkProtocol.v1_10_1.json | 291 "SNMP": { object 293 "description": "The settings for this manager's SNMP support.", 294 …"longDescription": "This object shall contain the SNMP protocol settings for this manager. The de… 571 "CommunityString": "SNMP community string authentication.", 581 … "CommunityString": "This value shall indicate authentication uses SNMP community strings.", 599 "description": "An SNMP community strings.", 600 …"longDescription": "This object shall contain an SNMP community string used to access an SNMP mana… 625 "description": "The access level of the SNMP community.", 626 … property shall contain the access/privilege level of the SNMP community used to access an SNMP ma… 631 "description": "The SNMP community string.", [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/net-snmp/net-snmp/ |
H A D | 0001-Android-Fix-the-build.patch | 10 Upstream-Status: Backport [https://github.com/net-snmp/net-snmp/commit/b4598662a39ff6974119c900ea56… 16 include/net-snmp/types.h | 3 +++ 67 diff --git a/include/net-snmp/types.h b/include/net-snmp/types.h 69 --- a/include/net-snmp/types.h 70 +++ b/include/net-snmp/types.h
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/keepalived/ |
H A D | keepalived_2.3.2.bb | 24 PACKAGECONFIG ??= "libnl snmp \ 28 PACKAGECONFIG[snmp] = "--enable-snmp,--disable-snmp,net-snmp" 52 FILES:${PN} += "${datadir}/snmp/mibs/KEEPALIVED-MIB.txt"
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-extended/corosync/ |
H A D | corosync_3.1.6.bb | 27 dbus snmp \ 31 PACKAGECONFIG[snmp] = "--enable-snmp,--disable-snmp,net-snmp" 63 FILES:${PN}-doc += "${datadir}/snmp/mibs/COROSYNC-MIB.txt"
|