Comprehensive data protection for all workloads
Post Reply
sbaumgartner
Novice
Posts: 3
Liked: never
Joined: Nov 08, 2012 10:35 am
Contact:

SNMP and OIB ?

Post by sbaumgartner »

Hello

I really new to this kind of topic, we use Veaam B&R in out enviroment and i really love this software but now i strugle a bit with out Monitoring tool and Veeam.
We got GFI Webmonitoring that uses OIBs how can i get the right OIBs from Veeam to monitor our backup jobs ? I only found the mib file in the veeam directory.

Thank you all

Greetings from swiss
Vitaliy S.
VP, Product Management
Posts: 27110
Liked: 2719 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: SNMP and OIB ?

Post by Vitaliy S. »

Hello,

Can you please clarify what OIBs you're referring to?

Thanks!
dellock6
VeeaMVP
Posts: 6139
Liked: 1932 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: SNMP and OIB ?

Post by dellock6 »

I found only the mib file too. Is too simple imho, it has the same oib for every backup job result (success, warning, failed) so you also have to do string parsing to read the effective result of the job. This is an improvement Veeam should consider in the future.

Luca.
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
sbaumgartner
Novice
Posts: 3
Liked: never
Joined: Nov 08, 2012 10:35 am
Contact:

Re: SNMP and OIB ?

Post by sbaumgartner »

Can u post me an example of your OIB string for a backup check ? Maybe that would clear up somme things in my head :)

THX
dellock6
VeeaMVP
Posts: 6139
Liked: 1932 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: SNMP and OIB ?

Post by dellock6 »

Oh, we did it via GUI on Centreon, a web interface for Nagios. Basically you add the common OIB, then you add a string processing activity, and you scan the trap for "success", "warning" and "failed" to separate the three different results.
I do not know how this has been then translated by Centreon on the underlying Nagios.

Luca.
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
GertPCC
Novice
Posts: 4
Liked: never
Joined: Dec 13, 2012 4:30 pm
Contact:

[MERGED] SNMP & OID for GFI Max

Post by GertPCC »

Hello,

We would like to be able to monitor our backups with GFI Max.

We can add an SNMP check in our dashboard.

Image


I have enabled SNMP service in Windows 2012 Server and set the SNMP notifications in the backup jobs.


I'm just wondering which OID I need to use to be able to check if the backup fails or succeeds. For example, a standard HP Proliant Raid controller has an OID value of: 1.3.6.1.4.1.232.3.1.3.0


I had a look at following code in the MIB file but this is all new to me so some advice would be welcome :)

Code: Select all

VEEAM-MIB DEFINITIONS ::= BEGIN

IMPORTS
   enterprises
      FROM RFC1155-SMI
   TRAP-TYPE 
      FROM RFC-1215
   OBJECT-TYPE 
      FROM RFC-1212
   DisplayString 
      FROM RFC1213-MIB; 

veeam         OBJECT IDENTIFIER ::= { enterprises 31023 }
products      OBJECT IDENTIFIER ::= { veeam 1 }
backup        OBJECT IDENTIFIER ::= { products 1 }
traps         OBJECT IDENTIFIER ::= { backup 1 }

onBackupJobCompleted TRAP-TYPE 
   ENTERPRISE traps 
   VARIABLES { backupJobId, backupJobName, backupJobResult, backupJobComment }
   DESCRIPTION 
      "This trap is sent on backup/replica job completed." 
   ::= 1 

onVmBackupCompleted TRAP-TYPE 
   ENTERPRISE traps 
   VARIABLES { backupJobName, vmName, sourceHostName, vmBackupResult, vmBackupComment }
   DESCRIPTION 
      "This trap is sent on vm backup/replica completed." 
   ::= 2 

backupJobId OBJECT-TYPE
   SYNTAX     DisplayString (SIZE (0..255))
   ACCESS     read-only 
   STATUS     mandatory
   DESCRIPTION
      "Backup job id."
   ::= { backup 101 }

backupJobName OBJECT-TYPE
   SYNTAX     DisplayString (SIZE (0..255)) 
   ACCESS     read-only 
   STATUS     mandatory
   DESCRIPTION
      "Backup job name."
   ::= { backup 102 }
   
backupJobResult OBJECT-TYPE
   SYNTAX     DisplayString (SIZE (0..255)) 
   ACCESS     read-only 
   STATUS     mandatory
   DESCRIPTION
      "Backup job result."
   ::= { backup 103 }
   
backupJobComment OBJECT-TYPE
   SYNTAX     DisplayString (SIZE (0..255)) 
   ACCESS     read-only 
   STATUS     mandatory
   DESCRIPTION
      "Backup job comment."
   ::= { backup 104 }

vmName OBJECT-TYPE
   SYNTAX     DisplayString (SIZE (0..255)) 
   ACCESS     read-only 
   STATUS     mandatory
   DESCRIPTION
      "VM name."
   ::= { backup 105 }

sourceHostName OBJECT-TYPE
   SYNTAX     DisplayString (SIZE (0..255)) 
   ACCESS     read-only 
   STATUS     mandatory
   DESCRIPTION
      "Source host name."
   ::= { backup 106 }

vmBackupResult OBJECT-TYPE
   SYNTAX     DisplayString (SIZE (0..255)) 
   ACCESS     read-only 
   STATUS     mandatory
   DESCRIPTION
      "VM backup result."
   ::= { backup 107 }

vmBackupComment OBJECT-TYPE
   SYNTAX     DisplayString (SIZE (0..255)) 
   ACCESS     read-only 
   STATUS     mandatory
   DESCRIPTION
      "VM backup comment."
   ::= { backup 108 }

END
veremin
Product Manager
Posts: 20282
Liked: 2257 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: SNMP and OIB ?

Post by veremin »

In order to browse the content of .mib-file you have to use specifically designed mib-readers, not just text editors.
For example, you can utilize this free one, called mbrowse.

In its GUI:

•Open VeeamBackup.mib file
•Go to the search window
•And search backupjobresult in order to see corresponding OID

Otherwise, you can easily make use of my own search results:

Code: Select all

Object Identifier  - .1.3.6.1.4.1.3102.1.1.103
Hope this helps.

Thanks.
GertPCC
Novice
Posts: 4
Liked: never
Joined: Dec 13, 2012 4:30 pm
Contact:

Re: SNMP and OIB ?

Post by GertPCC »

v.Eremin, this is indeed a great help.

But now I need to find the matching operator and test value in order to let our monitoring software see it as a succeeded backup.
dellock6
VeeaMVP
Posts: 6139
Liked: 1932 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: SNMP and OIB ?

Post by dellock6 »

GFI does not have the possibility to import an already existent mib file? I know other software able to do it, and sounds like a feature a monitoring software should have.

Luca.
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
GertPCC
Novice
Posts: 4
Liked: never
Joined: Dec 13, 2012 4:30 pm
Contact:

Re: SNMP and OIB ?

Post by GertPCC »

No it does not. :(

I tried adding a check like this but I can't get it to work
dellock6
VeeaMVP
Posts: 6139
Liked: 1932 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: SNMP and OIB ?

Post by dellock6 »

Maybe you can ask the vendor directly? No OIB import is not nice at all for a monitoring system...

Luca.
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 54 guests