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...
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.
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)
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.
@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');
}
@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?
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
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.
@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.
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)
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.
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.
@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.
@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!
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.