locked
EventID: 21406 failed to create System.PropertyBagData. Errors found in output: RRS feed

  • Question

  •  

    I am trying to write a MP to monitor some SNMP devices.  I have created the script and tested outside of SCOM.  The script runs fine and returns the data I expected.

     

    I then add the SCOM specific information to the script such as PropertyBags, etc.  I can run the script from the commandline and it outputs a stream of data.  When I save that and then load it up in Internet Explorer, it is XML and it looks fine.

     

    When I configure it for Ops Mgr, I get an error in the event log.  The EventId is: 21406.  Here is the complete error:

     

    The process started at 4:00:20 PM failed to create System.PropertyBagData. Errors found in output:

    C:\Program Files\System Center Operations Manager 2007\Health Service State\Monitoring Host Temporary Files 6\1424\SNMP-Polling-v1.2.vbs(305, 1) Microsoft VBScript runtime error: Object required: 'objSNMP.Get(...)'

     

    Command executed: "C:\WINDOWS\system32\cscript.exe" /nologo "SNMP-Polling-v1.2.vbs" 192.168.1.254 cAB1AGIAbABpAGMA 1

    Working Directory: C:\Program Files\System Center Operations Manager 2007\Health Service State\Monitoring Host Temporary Files 6\1424\

    One or more workflows were affected by this.

    Workflow name: MomUIGeneratedRulef8446e766431486ab49341bb81798a96

    Instance name: 192.168.1.254

    Instance ID: {9D1B3F02-EE85-EE68-9CF6-F2902A47A330}

    Management group: rftest

    For more information, see Help and Support Center at

     

     

    Like I said, the script runs fine from the commandline.  It outputs all the data to the console.  It fails when running in OpsMgr.

     

     

    Any ideas?

     

     

     

    Thanks,

     

    Stephen

    Wednesday, November 5, 2008 10:19 PM

Answers