Jump to content

CloudlySimon

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by CloudlySimon

  1. 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 2

    I'd expect the output of the script to be:

    Quote
    Output
    exiting with exit 2
    -2
    Exit Code

    but it looks like this:

    Quote
    Output
    Could not execute automation ad-hoc script shell
    -1
    Exit Code

    What am I doing wrong?

    Linux agent 9.2, running on Ubuntu 22.04

  2. 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.

     

  3. 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.

     

  4. 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

×
×
  • Create New...