• [^] # Re: Pour compléter mon premier message

    Posté par . En réponse au message table output. Évalué à 2.

    une version qui fonctionne ici :

    name=$(snmpwalk option1 pour avoir le name)
    index=$(snmpwalk option2 pour avoir index)
    status=$(snmpwalk option3 pour avoir etat)
    echo "${hostname}\t${IP}\t${name}\t${index}\t${status}"