Announcement

Collapse
No announcement yet.

Import MIBs

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

  • Import MIBs

    Bonjour,
    J'ai une application qui nous fournit un fichier mib que je voudrais utiliser pour monitorer l'application. Malheureusement, lorsque j'importe le fichier mib, j'obtiens:

    Moving traps in DataBase...
    2015-02-05 16:37:08 - snmptranslate version: NET-SNMP version: 5.5
    2015-02-05 16:37:08 - mib name: QLIKTECH-MIB
    2015-02-05 16:37:08 - Processing MIB: QLIKTECH-MIB
    2015-02-05 16:37:08 - Done
    2015-02-05 16:37:08 - Total translations: 0
    2015-02-05 16:37:08 - Successful translations: 0
    2015-02-05 16:37:08 - Failed translations: 0

    Generate Traps configuration files from Monitoring Engine configuration form!

    Voici le fichier mib:

    Code:
    QLIKTECH-MIB DEFINITIONS ::= BEGIN
    	IMPORTS
    		enterprises 
    			FROM SNMPv2-SMI
    		OBJECT-TYPE
    			FROM RFC-1212;
    		
    	qliktech			OBJECT IDENTIFIER ::= { enterprises 30764 }
    	products			OBJECT IDENTIFIER ::= { qliktech 1 }
    	qlikviewserver		OBJECT IDENTIFIER ::= { products 1 }
    	publisher			OBJECT IDENTIFIER ::= { products 2 }
    	commandcenterservice		OBJECT IDENTIFIER ::= { publisher 1}
    	distributionservice		OBJECT IDENTIFIER ::= { publisher 2 }
    	accesspointservice		OBJECT IDENTIFIER ::= { publisher 3 }
    	directoryservicecontroler	OBJECT IDENTIFIER ::= { publisher 4 }
    	commandcenter			OBJECT IDENTIFIER ::= { publisher 5 }
    
    
       qVSNumberOfUsers OBJECT-TYPE
          SYNTAX INTEGER
          ACCESS read-only
          STATUS mandatory
          DESCRIPTION
               "Number of currently connected users"                      
          ::= { qlikviewserver 1 }
    
    
       qVSNumberOfLoadedDocuments OBJECT-TYPE
          SYNTAX INTEGER
          ACCESS read-only
          STATUS mandatory
          DESCRIPTION
               "Number of currently loaded documents"
          ::= { qlikviewserver 2 }
    
    
       qVSNumberOfReferencedDocuments OBJECT-TYPE
          SYNTAX INTEGER
          ACCESS read-only
          STATUS mandatory
          DESCRIPTION
               "Number of documents having sessions"
          ::= { qlikviewserver 3 }
    
    
    	qDSTaskExecuteStatusTable OBJECT-TYPE
    		SYNTAX SEQUENCE OF qDSTaskExecuteStatusEntry
    		ACCESS not-accessible
    		STATUS mandatory
    		DESCRIPTION
    			"This table contains the status of tasks in the QlikView Distribution Service."          
    	::= { distributionservice 1 }
    
    
    	qDSTaskExecuteStatusEntry OBJECT-TYPE
    		SYNTAX QDSTaskExecuteStatusEntry
    		ACCESS not-accessible
    		STATUS mandatory
    		DESCRIPTION
    			"qDSTaskExecuteStatus entries, 1 per task."                
    			INDEX  { qDSTaskID }
    	::= { qDSTaskExecuteStatusTable 1 }
    
    
    	QDSTaskExecuteStatusEntry ::=
    		SEQUENCE {
    		qDSTaskID
    			DisplayString,
    		qDSTaskName
    			DisplayString,
    		qDSTaskExecuteStatus
    			DisplayString,
    		qDSTaskNextExecutionAt
    			DisplayString,
    		qDSTaskLastExecutedAt
    			DisplayString,
    		qDSTaskCurrentWork
    			DisplayString,
    		qDSTaskEnabled
    			DisplayString
    		}
    
    
    	qDSTaskID OBJECT-TYPE
    		SYNTAX DisplayString
    		ACCESS read-only
    		STATUS mandatory
    		DESCRIPTION
    			"Task ID, is a Guid."
    	::= { qDSTaskExecuteStatusEntry 1 }
    
    
    	qDSTaskName OBJECT-TYPE
    		SYNTAX DisplayString
    		ACCESS read-only
    		STATUS mandatory
    		DESCRIPTION
    			"Name of the task."
    	::= { qDSTaskExecuteStatusEntry 2 }
    
    
    	qDSTaskExecuteStatus OBJECT-TYPE
    		SYNTAX DisplayString
    		ACCESS read-only
    		STATUS mandatory
    		DESCRIPTION
    			"Status, can be any of: 
    				Waiting,
    				Running,
    				Aborting,
    				Failed,
    				Warning"
    	::= { qDSTaskExecuteStatusEntry 3 }
    
    
    	qDSTaskNextExecutionAt OBJECT-TYPE
    		SYNTAX DisplayString
    		ACCESS read-only
    		STATUS mandatory
    		DESCRIPTION
    			"When the task will be executed next."
    	::= { qDSTaskExecuteStatusEntry 4 }
    
    
    	qDSTaskLastExecutedAt OBJECT-TYPE
    		SYNTAX DisplayString
    		ACCESS read-only
    		STATUS mandatory
    		DESCRIPTION
    			"When the task was last executed."
    	::= { qDSTaskExecuteStatusEntry 5 }
    
    
    	qDSTaskCurrentWork OBJECT-TYPE
    		SYNTAX DisplayString
    		ACCESS read-only
    		STATUS mandatory
    		DESCRIPTION
    			"Text string describing what the task is doing at this moment."
    	::= { qDSTaskExecuteStatusEntry 6 }
    
    
    	qDSTaskEnabled OBJECT-TYPE
    		SYNTAX DisplayString
    		ACCESS read-only
    		STATUS mandatory
    		DESCRIPTION
    			"Can be true of false. If this task is currently enabled."
    	::= { qDSTaskExecuteStatusEntry 7 }
    
    
    END
    Merci de votre aide!
    http://www.matthieurobin.com

  • #2
    Bonjour,

    As-tu pensé à une explication tout simple ? Le fichier MIB ne contient pas de traps

    ++
    /!\Pas de support en message privé - No support in private message/!\

    "Il se faut entraider, c'est la loi de la nature." © Jean de La Fontaine

    Comment


    • #3
      Effectivement, j'ai eu un doute et vu que je ne suis vraiment pas expert dans les SNMP traps, j'ai préféré demander!

      Connais tu un explorateur SNMP? L'idée est de savoir si je peux remonter certaines informations de cette application?

      Merci d'avance et bonne journée.
      http://www.matthieurobin.com

      Comment


      • #4
        Sous Linux, tu as snmpB.
        Après sous windows aucune idée. Google devrait t'en trouver pleins
        /!\Pas de support en message privé - No support in private message/!\

        "Il se faut entraider, c'est la loi de la nature." © Jean de La Fontaine

        Comment

        Working...
        X