ethsetupsnmp(8)
π ethsetupsnmp(8) β EFSFFCLIRG (Man Page) π
okay bestie, sit down, hydrate, and let me tell you about ethsetupsnmp β that's the little command in the EFSFFCLIRG manual, section 8, and it is literally the glow-up your fabric's SNMP needs. β¨
πΈ NAME πΈ
ethsetupsnmp β bestie, it sets up SNMP on hosts so that ethreport can query fabric data through SNMP. that's it. that's the whole job. and it eats. π
π Syntax π
ethsetupsnmp [-p] [-L] [-f hostfile] [-h 'hosts'] [-a admin]
[-c community] [-m mibs]
no cap, that's the whole shape of it. π¦
β¨ Options β¨
--helpβ produces the full help text. the classic "wait what does this do again" button. π-pβ performs the operation against all hosts in parallel. multitasking queen behavior. π-fhostfile β specifies the file with hosts in cluster. default is/etc/eth-tools/hosts. π-hhosts β specifies the list of hosts in cluster. just say the names out loud, bestie. πΈ-Lβ includes localhost (the current node) in setup. yes, this node. include yourself, main character. π-aadmin β specifies the list of admin hosts that can issue SNMP query. default is the current host. π-ccommunity β specifies the community string used for SNMP query. default ispublic. π-mmibs β specifies the list of MIBs that are readable in SNMP queries. default is all MIBs required by FastFabric. β
π¦ Examples π¦
ethsetupssh -h 'elrond arwen' -a 'elrond'
HOSTS='elrond arwen' ethsetupsnmp -a 'elrond'
ethsetupsnmp -a 'elrond' -c 'public' -m '1.3.6.1.2.1.1 1.3.6.1.2.1.2'
(it's giving "copy these and vibe", honestly.) π
π Environment Variables π
the following environment variables are also used by this command:
HOSTSβ list of hosts, used if-hoption not supplied. π«ΆHOSTS_FILEβ file containing list of hosts, used in absence of-fand-h. πFF_MAX_PARALLELβ when-poption is used, maximum concurrent operations. the "how many at once tho" dial. π₯
π Description π
ethreport collects fabric data through issuing SNMP queries to hosts and switches. Intel recommends that you set up SNMP using ethsetupsnmp to ensure:
ethreporthas proper permission to query each host π- each host can provide desired data β¨
- all hosts have consistent SNMP configuration π
ethsetupsnmp accepts the following parameters to configure SNMP. these parameters can be specified as command line arguments or collected during user interaction. ethsetupsnmp works under user-interaction mode when one or more of the required parameters are not specified in command line. (aka: it will literally start asking you questions. be ready. π)
- admin: space separated management node names.
ethsetupsnmpwill configure each host to allow SNMP query from these nodes. πΈ - community: the community string for SNMP v2 query. the default is
public. if set to a different string, ensure updatehpnmgmt_config.xmlwith the string. (yes bestie, that means go update the file, don't skip it. π«Ά) - mibs: the MIBs allow SNMP query. FastFabric requires the following MIBs. you can provide extra MIBs if they are required by other applications.
1.3.6.1.2.1.1(SNMPv2-MIB:system)1.3.6.1.2.1.2(IF-MIB:interfaces)1.3.6.1.2.1.4(IP-MIB:ip)1.3.6.1.2.1.10.7(EtherLike-MIB:dot3)1.3.6.1.2.1.31.1(IP-MIB:ifMIBObjects)
when working under interactive mode, follow the prompts to complete the operation. it's giving conversational. π
Configuring SNMP...
Enter space separated list of admin hosts (mindy1):
Enter SNMP community string (public):
Fast Fabric requires the following MIBs:
1.3.6.1.2.1.1 (SNMPv2-MIB:system)
1.3.6.1.2.1.2 (IF-MIB:interfaces)
1.3.6.1.2.1.4 (IP-MIB:ip)
1.3.6.1.2.1.10.7 (EtherLike-MIB:dot3)
1.3.6.1.2.1.31.1 (IP-MIB:ifMIBObjects)
Do you accept these MIBs [y/n] (y):
Enter space separated list of extra MIBs to support (NONE):
Will config SNMP with the following settings:
admin hosts: mindy1
community: public
MIBs: 1.3.6.1.2.1.1 1.3.6.1.2.1.2 1.3.6.1.2.1.4 1.3.6.1.2.1.10.7
1.3.6.1.2.1.31.1
Do you accept these settings [y/n] (y):
and then it does the thing across the nodes, like so:
scp -q /usr/sbin/ethsetupsnmp root@[mindy1]:/tmp/ethsetupsnmp
scp -q /usr/sbin/ethsetupsnmp root@[mindy2]:/tmp/ethsetupsnmp
[root@phwfstl005]# /tmp/ethsetupsnmp -l -a 'mindy1' -c 'public' -m
'1.3.6.1.2.1.1 1.3.6.1.2.1.2 1.3.6.1.2.1.4 1.3.6.1.2.1.10.7
1.3.6.1.2.1.31.1
';rm -f /tmp/ethsetupsnmp
Configuring SNMP...
SNMP configuration completed
[root@phwfstl006]# /tmp/ethsetupsnmp -l -a 'mindy1' -c 'public' -m
'1.3.6.1.2.1.1 1.3.6.1.2.1.2 1.3.6.1.2.1.4 1.3.6.1.2.1.10.7
1.3.6.1.2.1.31.1
';rm -f /tmp/ethsetupsnmp
Configuring SNMP...
SNMP configuration completed
SNMP configuration completed
π heads up bestie: that rm -f /tmp/ethsetupsnmp at the end of the line is doing exactly what it says β the copied binary gets cleaned up off the node when it's done. no leftovers, no clutter, iconic hygiene fr fr. π§Ήβ¨
Copyright(C) 2020-2024 Intel Corporation ethsetupsnmp(8)
and that's the whole page, bestie β Copyright(C) 2020-2024, Intel Corporation, from the EFSFFCLIRG man page, ethsetupsnmp(8). go set up that SNMP, you absolute legend. πππ¦π
π¦ where this page comes from
- centos-stream 9: eth-tools-fastfabric 1:12.1.0.0-4.el9 Β· BSD
- fedora 43: eth-tools-fastfabric 1:12.1.0.0-151.fc43 Β· BSD-3-Clause
- fedora 44: eth-tools-fastfabric 1:12.1.0.1-6.fc44 Β· BSD-3-Clause
- opensuse-leap 16.0: eth-fastfabric 11.7.0.0-160000.2.2 Β· BSD-3-Clause OR GPL-2.0-only
- Copyright 2020-2024, Intel Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms