Announcement

Collapse
No announcement yet.

[UPGRADE] check_graph_proccess

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [UPGRADE] check_graph_proccess

    Je travaille sur une version 'check_graph_proccess' qui fonctionne sans 'grep' et 'wc'.

    Je voudrais valider la sortie de 'snmpwalk' pour le parsing, est-ce que qq'un pourrait me donner la sortie de la commande suivante :

    snmpwalk 127.0.0.1 -c public -v 1 .1.3.6.1.2.1.25.4.2.1.7
    Merci
    StatusMap Module - NDO Tools Module - ImportCSV Module - SNMP-UI Module - PDFReports Module
    Dons Paypal

  • #2
    HOST-RESOURCES-MIB::hrSWRunStatus.1 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.3 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.4 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.5 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.6 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.27 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.29 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.30 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.31 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.32 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.105 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.178 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.187 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.1083 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.1359 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.1929 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.1933 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.1959 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.1978 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2008 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2039 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2081 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2110 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2121 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2207 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2217 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2226 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2238 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2262 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2292 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2301 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2311 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2330 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2350 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2367 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2376 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2387 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2490 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2491 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2492 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2493 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.2494 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.7506 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.9391 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.9443 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.9444 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.9445 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.9446 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.9448 = INTEGER: running(1)
    HOST-RESOURCES-MIB::hrSWRunStatus.9451 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.9452 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.9453 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.9454 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.15987 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.18202 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.18429 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.18649 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.18656 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.18732 = INTEGER: running(1)
    HOST-RESOURCES-MIB::hrSWRunStatus.28636 = INTEGER: runnable(2)
    HOST-RESOURCES-MIB::hrSWRunStatus.32215 = INTEGER: runnable(2)


    Fedora Core 3
    Romain Le Merlus
    Centreon Forge
    MERETHIS

    Comment


    • #3
      comme quoi, j'ai bien fait de demander hock:

      thanks
      StatusMap Module - NDO Tools Module - ImportCSV Module - SNMP-UI Module - PDFReports Module
      Dons Paypal

      Comment


      • #4
        et
        snmpwalk 127.0.0.1 -c public -v 1 .1.3.6.1.2.1.25.4.2.1.2
        ?
        StatusMap Module - NDO Tools Module - ImportCSV Module - SNMP-UI Module - PDFReports Module
        Dons Paypal

        Comment


        • #5
          HOST-RESOURCES-MIB::hrSWRunName.1 = STRING: "init"
          HOST-RESOURCES-MIB::hrSWRunName.2 = STRING: "ksoftirqd/0"
          HOST-RESOURCES-MIB::hrSWRunName.3 = STRING: "events/0"
          HOST-RESOURCES-MIB::hrSWRunName.4 = STRING: "khelper"
          HOST-RESOURCES-MIB::hrSWRunName.5 = STRING: "kblockd/0"
          HOST-RESOURCES-MIB::hrSWRunName.6 = STRING: "khubd"
          HOST-RESOURCES-MIB::hrSWRunName.27 = STRING: "kapmd"
          HOST-RESOURCES-MIB::hrSWRunName.29 = STRING: "pdflush"
          HOST-RESOURCES-MIB::hrSWRunName.30 = STRING: "pdflush"
          HOST-RESOURCES-MIB::hrSWRunName.31 = STRING: "kswapd0"
          HOST-RESOURCES-MIB::hrSWRunName.32 = STRING: "aio/0"
          HOST-RESOURCES-MIB::hrSWRunName.105 = STRING: "kseriod"
          HOST-RESOURCES-MIB::hrSWRunName.178 = STRING: "kmirrord/0"
          HOST-RESOURCES-MIB::hrSWRunName.187 = STRING: "kjournald"
          HOST-RESOURCES-MIB::hrSWRunName.1083 = STRING: "udevd"
          HOST-RESOURCES-MIB::hrSWRunName.1359 = STRING: "kjournald"
          HOST-RESOURCES-MIB::hrSWRunName.1929 = STRING: "syslogd"
          HOST-RESOURCES-MIB::hrSWRunName.1933 = STRING: "klogd"
          HOST-RESOURCES-MIB::hrSWRunName.1959 = STRING: "portmap"
          HOST-RESOURCES-MIB::hrSWRunName.1978 = STRING: "rpc.statd"
          HOST-RESOURCES-MIB::hrSWRunName.2008 = STRING: "rpc.idmapd"
          HOST-RESOURCES-MIB::hrSWRunName.2039 = STRING: "apmd"
          HOST-RESOURCES-MIB::hrSWRunName.2081 = STRING: "nifd"
          HOST-RESOURCES-MIB::hrSWRunName.2110 = STRING: "mDNSResponder"
          HOST-RESOURCES-MIB::hrSWRunName.2121 = STRING: "smartd"
          HOST-RESOURCES-MIB::hrSWRunName.2207 = STRING: "sshd"
          HOST-RESOURCES-MIB::hrSWRunName.2217 = STRING: "xinetd"
          HOST-RESOURCES-MIB::hrSWRunName.2226 = STRING: "vsftpd"
          HOST-RESOURCES-MIB::hrSWRunName.2238 = STRING: "safe_mysqld"
          HOST-RESOURCES-MIB::hrSWRunName.2262 = STRING: "mysqld"
          HOST-RESOURCES-MIB::hrSWRunName.2292 = STRING: "sendmail"
          HOST-RESOURCES-MIB::hrSWRunName.2301 = STRING: "sendmail"
          HOST-RESOURCES-MIB::hrSWRunName.2311 = STRING: "gpm"
          HOST-RESOURCES-MIB::hrSWRunName.2330 = STRING: "crond"
          HOST-RESOURCES-MIB::hrSWRunName.2350 = STRING: "xfs"
          HOST-RESOURCES-MIB::hrSWRunName.2367 = STRING: "atd"
          HOST-RESOURCES-MIB::hrSWRunName.2376 = STRING: "dbus-daemon-1"
          HOST-RESOURCES-MIB::hrSWRunName.2387 = STRING: "hald"
          HOST-RESOURCES-MIB::hrSWRunName.2490 = STRING: "mingetty"
          HOST-RESOURCES-MIB::hrSWRunName.2491 = STRING: "mingetty"
          HOST-RESOURCES-MIB::hrSWRunName.2492 = STRING: "mingetty"
          HOST-RESOURCES-MIB::hrSWRunName.2493 = STRING: "mingetty"
          HOST-RESOURCES-MIB::hrSWRunName.2494 = STRING: "mingetty"
          HOST-RESOURCES-MIB::hrSWRunName.7506 = STRING: "python"
          HOST-RESOURCES-MIB::hrSWRunName.9391 = STRING: "cupsd"
          HOST-RESOURCES-MIB::hrSWRunName.9443 = STRING: "httpd"
          HOST-RESOURCES-MIB::hrSWRunName.9444 = STRING: "httpd"
          HOST-RESOURCES-MIB::hrSWRunName.9445 = STRING: "httpd"
          HOST-RESOURCES-MIB::hrSWRunName.9446 = STRING: "httpd"
          HOST-RESOURCES-MIB::hrSWRunName.9448 = STRING: "snmpd"
          HOST-RESOURCES-MIB::hrSWRunName.9451 = STRING: "httpd"
          HOST-RESOURCES-MIB::hrSWRunName.9452 = STRING: "httpd"
          HOST-RESOURCES-MIB::hrSWRunName.9453 = STRING: "httpd"
          HOST-RESOURCES-MIB::hrSWRunName.9454 = STRING: "httpd"
          HOST-RESOURCES-MIB::hrSWRunName.15987 = STRING: "mingetty"
          HOST-RESOURCES-MIB::hrSWRunName.18429 = STRING: "httpd"
          HOST-RESOURCES-MIB::hrSWRunName.28636 = STRING: "python"
          HOST-RESOURCES-MIB::hrSWRunName.29842 = STRING: "sshd"
          HOST-RESOURCES-MIB::hrSWRunName.29874 = STRING: "tcsh"
          HOST-RESOURCES-MIB::hrSWRunName.29893 = STRING: "snmpwalk"
          HOST-RESOURCES-MIB::hrSWRunName.32215 = STRING: "nagios"

          Toujours Fedora Core 3
          Romain Le Merlus
          Centreon Forge
          MERETHIS

          Comment


          • #6
            tu as ucd-snmp ou net-snmp ?
            StatusMap Module - NDO Tools Module - ImportCSV Module - SNMP-UI Module - PDFReports Module
            Dons Paypal

            Comment


            • #7
              net-snmp
              Romain Le Merlus
              Centreon Forge
              MERETHIS

              Comment

              Working...
              X