Skip to main content
Question

servicenow.com Jamf integration


Forum|alt.badge.img+10

Has any one integrated there jss with service-now?

29 replies

Forum|alt.badge.img+4
  • Contributor
  • 24 replies
  • April 23, 2014

I also have this question, I am wondering if their is a plugin for ServiceNow to allow it access Casper Inventory?


Rosko
Forum|alt.badge.img+17
  • Employee
  • 88 replies
  • April 23, 2014

We've been looking for the same thing, but since we were not able to find such an option we are going to end up using the SCCM plug-in to integrate with that and then ServiceNow can integrate with SCCM...

Not really direct, but should work.


Forum|alt.badge.img+19
  • Valued Contributor
  • 568 replies
  • February 5, 2015

We just deployed ServiceNow here in December 2014. We replaced a deprecated BMC Help Desk & Asset product and we love it. SN is Mac friendly and browser-based.

I'm hoping to have Casper Suite purchased and deployed this winter spring (2015).

I'd love to hear success stories or testimonials on how you have integrated JAMF with SN. Please share.

My main goal is the auto-creation of Assets (CIs) in SN when a new Mac is imaged and deployed into production via JAMF. It would greatly help my Desktop Techs and IT in general.


ImAMacGuy
Forum|alt.badge.img+23
  • Esteemed Contributor
  • 1310 replies
  • August 5, 2015

was there ever any progress on this? We're rolling out SN soon (end of month is go live date i think).


Forum|alt.badge.img+19
  • Valued Contributor
  • 568 replies
  • August 5, 2015

I haven't purchased JAMF Casper Suite yet. So most of our computers are added into SN via a service called Help the Help Desk (Windows). Most of the Macs are entered manually into SN at deployment time, which is fairly easy and fast to do, but it would be nice to automate the process to avoid human error etc (damn humans!)

When we procure JAMF after this year, we are also buying SCCM too (replacing Altiris on the Windows side). So it looks to me that Casper will be able to talk to SCCM to create/store new Mac asset records, and then the asset info will go upstream one more hop to SCCM to create new CI records (Configuration Items - which are basically assets)


Forum|alt.badge.img+15
  • Contributor
  • 92 replies
  • August 5, 2015

@RaulSantos @dstranathan We use serviceNow and have successfully integrated using the REST API. Feel free to hit me up with any questions.


Forum|alt.badge.img+15
  • Contributor
  • 92 replies
  • August 5, 2015

We also bought the SCCM plug in but decided against using it. Currently servicenow runs a regular job that talks on servicenow that talks to the jss to import new systems and update user info etc. Our next step is to have new assets created in service now set up prestage imaging jobs for newly added inventory.


Forum|alt.badge.img+19
  • Valued Contributor
  • 568 replies
  • August 5, 2015

@RaulSantos

Please tell me more about how you used the REST API to gather Mac CI data.

Does your JSS run on Windows and MSSQL?

Thank you sir


Forum|alt.badge.img+10
  • Author
  • Contributor
  • 52 replies
  • August 5, 2015

@RogerUL are you doing this via a database import or an API script?


Forum|alt.badge.img+15
  • Contributor
  • 92 replies
  • August 5, 2015

API script running in service now.


Forum|alt.badge.img+10
  • Author
  • Contributor
  • 52 replies
  • August 5, 2015

@RogerUL Would you be willing to share that API script? Github?


Forum|alt.badge.img+11
  • Valued Contributor
  • 215 replies
  • August 7, 2015

@RogerUL Also interested in this as we have just deployed Service Now replacing LanDesk.


Forum|alt.badge.img+5
  • Contributor
  • 24 replies
  • August 7, 2015

Would love to see this also, we have deployed ServiceNow last week and would be good to know how easy it is to integrate with the JSS


Forum|alt.badge.img+15
  • Contributor
  • 92 replies
  • August 12, 2015

@5kinner @dmw3 @RaulSantos Here is what I got from our service now guru. Let me know if you have additional questions

var r = new RESTMessage('Capser', 'get');
var response = r.execute();

var k = 1;
while ( response == null ) {
   gs.print( "waiting ... " + k + " seconds");
   response = r.getResponse( 1000 );
   k++;

   if ( k > 30 ) {
      gs.print( 'service time-out' );
      break;
   }
}

var jsonString = response.getBody();
var parser = new JSONParser();
var parsed = parser.parse(jsonString);

for (i = 0; i < parsed.computers.length; i++) {

    var name = parsed.computers[i].name;

    var model = parsed.computers[i].model;
    var mac = parsed.computers[i].mac_address;
    var serial_number = parsed.computers[i].serial_number;
    var username = parsed.computers[i].username; //username field format in casper matches sys_user.user_name field format in ServiceNow
   var udid = parsed.computers[i].udid;

      var rec = new GlideRecord('u_clean_mac');
     rec.initialize();
            rec.u_name = name;
            rec.u_model = model;
                        rec.u_mac_address = mac; 
            rec.u_serial_number = serial_number;       
            rec.u_assigned_to = username;
                                                rec.u_udid = udid;

     rec.insert();
     gs.log(name + '(Serial - ' + serial_number + ') has been added to the Casper Clean Mac Import table');
}

ImAMacGuy
Forum|alt.badge.img+23
  • Esteemed Contributor
  • 1310 replies
  • August 12, 2015

@RogerUL thank you for that! Is it missing some context though? I know I am missing some as I haven't seen anything in SN yet - so that may be why, but how does it know where to find the JSS?


Forum|alt.badge.img+11
  • Valued Contributor
  • 215 replies
  • August 12, 2015

@RogerUL Thanks for sharing. like @jwojda I think there is a connection string missing.


Forum|alt.badge.img+5
  • Contributor
  • 24 replies
  • August 13, 2015

Thanks for this!


Forum|alt.badge.img+4
  • Contributor
  • 10 replies
  • August 26, 2015

Is there any way we can have more parameters added in an API? I mean like,right now JSSResource/computers/subset/basic returns a set of attributes for each computer,what if I need more information ? Thank You,
Remya


ega
Forum|alt.badge.img+16
  • Valued Contributor
  • 141 replies
  • August 26, 2015

We have done something similar to @RoberUL via the casper api but we call into saved advanced computer search to get more detail. Service Now imports are programming challenges more than casual configuration so one really needs training to understand the environment.


Forum|alt.badge.img+7
  • Contributor
  • 35 replies
  • March 3, 2016

@RogerUL Hey Roger! Can you share your contact information? Would love to pick your brain a bit as we at CU Boulder want to do the same thing you are doing at your institution.


Forum|alt.badge.img+7
  • Contributor
  • 30 replies
  • March 14, 2016


We actually mapped the tables to pull data from Casper to ServiceNow and run a sync in the evening. Soon, we will be doing a bi-directional transaction (Read/Write)

Still working on things.


Forum|alt.badge.img+8
  • Valued Contributor
  • 126 replies
  • August 26, 2016

Just wondering how you guys are integrating Casper data into ServiceNow. Every couple of months this gets brought up. I'd like to be able to setup a nightly sync, but don't even know where to start.


Forum|alt.badge.img+19
  • Valued Contributor
  • 568 replies
  • August 26, 2016

My company opted to by the JAMF SCCM plug-in, so once implemented, my JSS data will be in SCCCM (which talks to ServiceNow), from which my Mac data will ultimatley get written to ServiceNow.


Forum|alt.badge.img+5
  • New Contributor
  • 6 replies
  • January 13, 2017

@RaulSantos We integrated with Service Now as well and the SN folks used the REST query advancecomputersearches and export what they needed via XML. Hope this helps.


Forum|alt.badge.img+4
  • New Contributor
  • 8 replies
  • December 29, 2017

@cshepp11 Hey sorry, but how exactly did you do that? I mean, not exactly, but essentially. We recently started doing discovery on our windows machines and I've been tasked with getting the same form our Macs. Currently, the windows users run a .hta file that gets downloaded, but if I can map as you did man that'd be great. Any assistance, thoughts, etc. you can provide would be awesome, cheers!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings