Agent client collector - updating Operating System field

Tom Brown
Mega Guru

We have been testing the agent client collector for servers and workstations that are not routinely available when Discovery scans IP segments.  The basic setup is not hard and seems to work, but I'm having a hard time understanding how to create a "check" that will return the Operating System field and populate it.  OOB, I guess it's 'enhanced discovery' that populates OS Version, RAM, and others, but not that specific one.  I'm sure there will be other data people ask for too.  SN documentation takes me around in circles, stating that I can make my own checks, which is great.  But nothing on the command structure and how to map whatever is returned to fields.  I understand that the Ruby language is used, which I'll have to study up on.  But I'm just not finding anything that helps me make one that gathers the data and injects it into the right end point.  Anyone have a guide that can tell me how to create such?  SN documentation seems to tell me 90% of what I need to know, but leaves out key pieces of information that would be really helpful.

1 ACCEPTED SOLUTION

We have been pushing hard on ServiceNow on this and I was sent a file yesterday by Sree which lists all of the commands (and also compares them to the ones used by horizontal discovery).  I'll check to see if I can post it here.

View solution in original post

4 REPLIES 4

andrewrouch
Tera Expert

I have a similar issue with the documentation, compared to horizontal discovery where SN provided a list of all the commands used to gather data, there is no similar documentation for ACC.  In a recent call with SN they suggested to download the agent and inspect the ruby scripts, but I still don't know why they can't document this information.  

I'm looking over the Sensu site to see if there are any notes about it there.  I don't think we should have to reverse-engineer their scripts to try to figure out how to fix omissions.

We have been pushing hard on ServiceNow on this and I was sent a file yesterday by Sree which lists all of the commands (and also compares them to the ones used by horizontal discovery).  I'll check to see if I can post it here.

That would be great.  Thank you very much!