CloudlySimon
-
Posts
7 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by CloudlySimon
-
-
I have a few bash scripts that I want to exit with an error code under certain circumstances, as I want the script to show as failed.
The issue is that the output for the script is empty, except for the line "Could not execute automation ad-hoc script shell"
This only occurs when the exit code is greater than 0.
Example below:
Quote#!/bin/bash
echo "exiting with exit 2"
exit 2I'd expect the output of the script to be:
QuoteOutputexiting with exit 2-2Exit Codebut it looks like this:
QuoteOutputCould not execute automation ad-hoc script shell-1Exit CodeWhat am I doing wrong?
Linux agent 9.2, running on Ubuntu 22.04
-
On 11/11/2021 at 7:38 AM, Paul said:
We've launched support for arm64: https://www.pulseway.com/download/pulseway_arm64.deb. Enjoy!
-Paul
Hi all,
I've just tried to install poulseway_arm64.deb on a RPi4 with Ubuntu 21.04 ( 5.11.0-1015-raspi ) and get the following error on start
Quote● pulseway.service - Remotely Monitor and Control IT Systems
Loaded: loaded (/etc/systemd/system/pulseway.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Fri 2021-11-26 15:07:11 NZDT; 40min ago
Process: 1647742 ExecStart=/usr/sbin/pulsewayd --no-daemonize (code=killed, signal=SEGV)
Main PID: 1647742 (code=killed, signal=SEGV)Nov 26 15:07:11 CPN systemd[1]: Started Remotely Monitor and Control IT Systems.
Nov 26 15:07:11 CPN pulseway[1647742]: Starting Pulseway Daemon version 8.8.9 (2021111002)
Nov 26 15:07:11 CPN pulseway[1647742]: Got exception signal: 11
Nov 26 15:07:11 CPN systemd[1]: pulseway.service: Main process exited, code=killed, status=11/SEGV
Nov 26 15:07:11 CPN systemd[1]: pulseway.service: Failed with result 'signal'.Appreciate any suggestions or comments to help troubleshoot.
-
Hello,
When authenticating to the REST API, am I able to use the API Key/API Token found on the User Account Details page?
I've been attempting to do so using Postman, by changing the Authorization type to API Key and then pasting the API Key into the Value field. Unsure that the Key field must contain, but having tried things like "apikey", "api_key" etc.. I always receive a 401 Unauthorized. I'm clearly getting something wrong - so appreciate any direction.
Just a FYI, the documentation for the Notifications says a default priority is normal but I've found it to default to low when no priority field is populated.
-
That's great to hear about the ability to share tasks and scripts.
In the meantime, any chance of allowing us to delete the built-in scripts?
-
I too am running an Enterprise server behind WAP. Is there any fix for allowing remote desktop to work, when it thinks the clients are on the local network (thanks to WAP for masq the source IP)?
-
Hello,
Is there any way I can have my App that is using the Cloud API, display an image through with the Web or App? Similar in functionality to the Screens function of the Windows agent?
If not possible, any suggestions how I may go about showing an image? I've tried adding a SimpleItem with a hyperlink - but no go there :-)
I appreciate your time in reply.
Regards
Write back Date from Batchscript into output variable
in Bash
Posted
ITCommander - did you get a response to your question? Can you post the resolution here please as I have the same question. Many thanks