Ad Widget

Collapse

Macro with space in a key

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ferri
    Junior Member
    • Mar 2011
    • 26

    #1

    Macro with space in a key

    Hello,

    I need you again because I have a little problem.

    I have some items that check if my backup succeded during the night with an eventlog key to get back events in the eventviewer of Windows.

    This key is linked to a template and I use different value to take the good source and ID of event for all my hosts.
    eventlog[Application,,,{$SAUVEGARDE}, {$ID1}]

    It works with my servers under Windows Server 2003 because the source is NTBackup but under Windows Server 2008, the soft has changed and is now Backup (Microsoft-Windows-Backup).

    So for my host WS2008, I used the macro {$SAUVEGARDE} = Backup (Microsoft-Windows-Backup).

    And It doesn't work there. I think that the space character is responsible for that, isn't it?

    Thank you
Working...