Hi,
I am using OTRS ITSM 3.3.12. Can I import config items in OTRS CMDB from SCCM Server automatically? If yes, it would be great if someone can provide me the steps to do so.
Regards,
Gunjan
Auto Importing Config Items from SCCM server
Moderator: crythias
-
- Znuny advanced
- Posts: 138
- Joined: 05 Jun 2009, 11:32
- Znuny Version: 3.3.8
- Company: Netzlink Informationstechnik GmbH
- Location: Wolfenbüttel,GER
- Contact:
Re: Auto Importing Config Items from SCCM server
Export-CSV from SCM and import into CMDB
Export daily to a defined path
import via cron-job "OTRS\bin\otrs.ImportExport.pl"
Export daily to a defined path
import via cron-job "OTRS\bin\otrs.ImportExport.pl"
Live: OTRS 3.3.8, ITSM 3.3.8, in vm
Test: otrs 3.3.8, ITSM
OS: RedHat 6.5 64Bit, Apache: 2.2.15, MySQL 5.5.38, Perl: 5.10.1, mod_Perl 2.0.4
Test: otrs 3.3.8, ITSM
OS: RedHat 6.5 64Bit, Apache: 2.2.15, MySQL 5.5.38, Perl: 5.10.1, mod_Perl 2.0.4
Re: Auto Importing Config Items from SCCM server
How will we define the path of the csv file in the script file?
Re: Auto Importing Config Items from SCCM server
Hi,
Can anyone please let me know how I can create a cron job to do the importing?
Regards,
Gunjan
Can anyone please let me know how I can create a cron job to do the importing?
Regards,
Gunjan
Re: Auto Importing Config Items from SCCM server
Best way is to create a file in /opt/otrs/var/cron
Have a look in the files there for examples. After you have created the file make sure the rights on the new file are the same as the other files and restart the otrs service.
If you want to know the possible parameters just run it with an -h as parameter
/opt/otrs/bin/otrs.ImportExport.pl -h
Have a look in the files there for examples. After you have created the file make sure the rights on the new file are the same as the other files and restart the otrs service.
If you want to know the possible parameters just run it with an -h as parameter
/opt/otrs/bin/otrs.ImportExport.pl -h
Re: Auto Importing Config Items from SCCM server
Hi,
Thanks for info. I created a cron job. Can you please let me know how to check whether it is running or not? I am also getting a notice info in Logs:
Thanks you in Advance!
Regards,
Gunjan
Thanks for info. I created a cron job. Can you please let me know how to check whether it is running or not? I am also getting a notice info in Logs:
not sure if this causing the issue.[Notice][Kernel::Language::FormatTimeString] No FormatTimeString() translation found for '03/20/2015 00:00:00' string!
Thanks you in Advance!
Regards,
Gunjan