Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.
Endpoint Management Community Blog

When is a Basic Inventory not a Basic Inventory?

Created: 05 Sep 2013 • Updated: 05 Sep 2013 • 2 comments
Ludovic Ferre's picture
+1 1 Vote
Login to vote

Today is riddle day. So here it is in full:

When is a basic inventory not a basic inventory?

When it's a custom inventory!!!

So, now this explains why we are getting thousands of customer inventory every day at my customer. The custom inventories are generated by VBS and as documented here on Connect [1] (and I'm sure in much of the product documentation) we generate NSE's with a msgTo element pointing to the Basic Inventory Dataclass:

'----------------------NOTIFICATION SERVER ENTRY STARTS HERE------------------
dim nse
set nse = WScript.CreateObject ("Altiris.AeXNSEvent")
nse.To = "{1592B913-72F3-4C36-91D2-D4EDA21D2F96}" 'Never change this guid, it is needed by NS.
nse.Priority = 1
dim objDCInstance
set objDCInstance = nse.AddDataClass ("{8284a0ad-b37f-4c9b-b0ad-cb92f97d7401}") ' Change this to math the guid of the custom data class
dim objDataClass
set objDataClass = nse.AddDataBlock (objDCInstance)

Remains to see what can be done about this, so we have event data logged on the Evt_NS_Event_History showing apples for apples, and not custom inventory as basic inventory...


Comments 2 CommentsJump to latest comment

michael cole's picture

I never knew that was the basic inventory dataclass guid, i wonder what other guids it might accept?

Michael Cole

Principal Business Critical Engineer

Business Critical Services

Login to vote
Ludovic Ferre's picture

It can accept other better suited values. I just validated a solution this morning.

It's not complicated but I'm not going to describe how to do it here, you'll have to wait for the article I am writing (about 50% thru) to see the details :D.

I am currently off-net, on a retreat of some kind. I'll be back real soon, and you sure will hear from me then ;-).

Ludovic FERRÉ
Principal Remote Product Specialist

Login to vote