I have updated same error msg in /var/log/sn_ticketer.log and accessing the correct url
****************************************
13/10/2020 8:15:50 Config loaded.
13/10/2020 8:15:50 Connecting to:
https://inf.nagio.interface.user:passwo ... nt.do?WSDL
13/10/2020 8:15:50 Connection to Service-Now Failed: 400 Bad Request
****************************************
From payload , manually able to create the service now tickets but when trying from service-now perl script getting below error
===========================================================================
SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 400 Bad Request
Connection: close
Date: Wed, 14 Oct 2020 09:26:23 GMT
Server: ServiceNow
Client-Date: Wed, 14 Oct 2020 09:26:23 GMT
Client-Peer: 139.1.152.51:443
Client-Response-Num: 1
Client-SSL-Cert-Issuer: /C=DE/O=T-Systems International GmbH/OU=T-Systems Trust Center/ST=Nordrhein Westfalen/postalCode=57250/L=Netphen/street=Untere Industriestr. 20/CN=TeleSec ServerPass Class 2 CA
Client-SSL-Cert-Subject: /C=DE/O=operational services GmbH & Co. KG/OU=Business Customers/ST=Hessen/L=Frankfurt am Main/CN=*.osnow.de
Client-SSL-Cipher: ECDHE-RSA-AES256-GCM-SHA384
Client-SSL-Socket-Class: IO::Socket::SSL
Client-Transfer-Encoding: chunked
Set-Cookie: BIGipServerpool_poc1.osnow.de=!LPdeUDWeT9RbYDu4wCke6xiIs5ISUZ/aMgXR9MM68M/g51lgqLoW0U4OluiVxJy0Qvp3yp6XERK9tA==; path=/; Httponly; Secure
400 Bad Request at /usr/local/nagios/libexec/service-now.pl line 447.
========================================================================================
also below nagios log
[1602683493] wproc: stderr line 01: print() on closed filehandle LOG at /usr/local/nagios/libexec/sn_ticketer.pl line 658.
[1602683493] wproc: stderr line 02: 400 Bad Request at /usr/local/nagios/libexec/sn_ticketer.pl line 301.
[1602683493] wproc: stdout line 01: Unable to open log file: Permission denied
[1602683493] wproc: stdout line 02: Cleaning up archived DB entries older than TTL
[1602683493] wproc: stdout line 03: Config loaded.
[1602683493] wproc: stdout line 04: Message hash for this alert is: a420f7821f45341530b8c21379d37259
[1602683493] wproc: stdout line 05: Ticket track enabled using database.
[1602683493] wproc: stdout line 06: Inserting low into priority.
[1602683493] wproc: stdout line 07: Inserting monitoring into contact_type.
[1602683493] wproc: stdout line 08: Inserting Host: LX140Y.EMEA.ADS.LANXESS
[1602683493] wproc: stdout line 09: Service: Explorer
[1602683493] wproc: stdout line 10: State: CRITICAL
[1602683493] wproc: stdout line 11: Time: Wed Oct 14 13:51:33 UTC 2020
[1602683493] wproc: stdout line 12: Description: explorer.exe: not running
[1602683493] wproc: stdout line 13:
[1602683493] wproc: stdout line 14: into description.
[1602683493] wproc: stdout line 15: Inserting inf.nagio.interface.user into u_requester.
[1602683493] wproc: stdout line 16: Inserting LX140Y into cmdb_ci.
[1602683493] wproc: stdout line 17: Inserting inf.nagio.interface.user into opened_by.
[1602683493] wproc: stdout line 18: Inserting LXS-ITO-Service-Desk into u_incident_owner_group.
[1602683493] wproc: stdout line 19: Inserting software into subcategory.
[1602683493] wproc: stdout line 20: Inserting inf.nagio.interface.user into caller_id.
[1602683493] wproc: stdout line 21: Inserting Monitoring into business_service.
[1602683493] wproc: stdout line 22: Inserting LXS-ITO-Service-Desk into assignment_group.
[1602683493] wproc: stdout line 23: Inserting Create into u_processing_type.
[1602683493] wproc: stdout line 24: Inserting failure into category.