Jump to content
BruvDBassMan

Proxy Support with Ubuntu Mate

Recommended Posts

Posted (edited)

Hello there. I'm trying to get to get a proxy working with my installation of Pulseway.

Pease see the bellow xml file.

If I set the proxy, Enabled="false" all works as it should. If I enable proxy, Enabled="true", Pulseway does runs but haults.

Any advice?

 

<?xml version="1.0" encoding="utf-8"?>
<config xmlns="http://www.pulseway.com/linuxconfig">
    <!--Pulseway Linux Monitoring Agent - pulseway.com -->
    <!--Account Information
    - Username: your Pulseway username
    - Password: your Pulseway password (the plain password will be automatically encrypted the next time the Pulseway service starts)
    - UseCustomServer: enable this option only if you have a dedicated Enterprise Server assigned to your account
    - CustomServerAddress: your Enterprise Server address
    - Token: Pulseway Agent Group token-->
    <Account Username="" Password="" UseCustomServer="false" CustomServerAddress="" Token="eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiJlMDA5MzcyNC02ODk5LTRiMTItOTIxYS0yYTE1YTc2ZGZjMjQiLCJ1c3IiOiJicnV2ZGJhc3NtYW4ifQ.WXScAVAM5eQeE_ZkKyFKGAkHHNOnPRNv_uCwAu0_8u0"/>
    <!--Computer Information
    - Name: computer name used for display and listing (by default the Linux computer name will be used)
    - Group: commputer group name-->
    <ComputerInformation Name="StarKiller" Group="Server"/>
    <!--System Commands-->
    <AllowedCommands>
        <Restart Allowed="true"/>
        <ShutDown Allowed="true"/>
        <PowerOff Allowed="true"/>
        <Suspend Allowed="false"/>
        <Hibernate Allowed="false"/>
    </AllowedCommands>
    <!--Monitored Services-->
    <MonitoredServices>
        <!--Service
      - Name: service name
      - DisplayName: friendly name used for display
      - IsDaemon: 'true' if the monitored service is a daemon and 'false' if the monitored service is a process
      - DaemonType: system management daemon type: NONE, SYSVINIT, UPSTART or SYSTEMD
      - Path: path of the monitored service (this is used when the monitored service is a process)
      - StartParameters: parameters used to start the monitored service (this is used when the monitored service is a process)
      - CanBeStopped: 'true' or 'false'-->
        <Service Name="cups" DisplayName="CUPS Service" IsDaemon="true" DaemonType="SYSVINIT" Path="" StartParameters="" CanBeStopped="true" Enabled="false"/>
        <Service Name="ntpd" DisplayName="NTPD Process" IsDaemon="false" DaemonType="NONE" Path="/usr/sbin/ntpd" StartParameters="-p /var/run/ntp/ntpd.pid -g -u ntp:ntp -i /var/lib/ntp -c /etc/ntp.conf" CanBeStopped="true" Enabled="false"/>
        <Service Name="sshd" DisplayName="SSH Daemon" IsDaemon="true" DaemonType="SYSVINIT" Path="" StartParameters="" CanBeStopped="true" Enabled="true"/>
        <Service Name="SuSEfirewall2.service" DisplayName="SuSE Firewall Service" IsDaemon="true" DaemonType="SYSTEMD" Path="" StartParameters="" CanBeStopped="true" Enabled="false"/>
        <Service Name="plexmediaserver" DisplayName="Plex Media Server" IsDaemon="true" DaemonType="SYSVINIT" Path="" StartParameters="" CanBeStopped="true" Enabled="true" />
        <Service Name="transmission-daemon" DisplayName="Trasmission" IsDaemon="TRUE" DaemonType="SYSTEMD" Path="" StartParameters="" CanBeStopped="true" Enabled="true" />
        <Service Name="x11vnc" DisplayName="X11 VNC with StarKiller service" IsDaemon="true" DaemonType="SYSVINIT" Path="" StartParameters="systemctl start x11vnc.service" CanBeStopped="true" Enabled="true" />
        <Service Name="sabnzbdplus" DisplayName="SABnzbd+" IsDaemon="TRUE" DaemonType="SYSTEMD" Path="" StartParameters="" CanBeStopped="true" Enabled="true" />
    </MonitoredServices>
    <!--SSL Certificates and Web Sites-->
    <Web>
        <!--SSL Certificates-->
        <Certificates>
            <!--Certificate
        - Server: server name or IP address
        - Port: server port-->
            <Certificate Server="google.com" Port="443" Enabled="false"/>
            <Certificate Server="microsoft.com" Port="443" Enabled="false"/>
        </Certificates>
        <!--Web Sites-->
        <WebSites>
            <!--WebSite
        - Url: web site Url
        - Type: method used for testing the web site - HEAD or GET
        - Name: name used for display-->
            <WebSite Url="http://www.google.com" Type="HEAD" Name="Google (using HEAD)" Enabled="false"/>
            <WebSite Url="http://www.intel.com" Type="GET" Name="Intel (using GET)" Enabled="false"/>
        </WebSites>
    </Web>
    <!--Network-->
    <Network>
        <!--Ping
      - Server: server IP address or hostname-->
        <Ping Server="8.8.8.8" Enabled="false"/>
        <!--Ports-->
        <MonitoredPorts>
            <!--Port
        - Type: TCP or UDP
        - Number: port number
        - Name: port name
        - Address: computer name or IP address (for UDP only localhost or 127.0.0.1 are valid)-->
            <Port Type="TCP" Number="80" Name="Google (port 80)" Address="www.google.com" Enabled="false"/>
            <Port Type="TCP" Number="443" Name="Google (port 443)" Address="www.google.com" Enabled="false"/>
            <Port Type="UDP" Number="53" Name="DNS" Address="127.0.0.1" Enabled="false"/>
        </MonitoredPorts>
        <!--Network Interfaces-->
        <NetworkInterfaces>
            <!--Interface
        - Name: interface name-->
            <Interface Name="enp3s0" Enabled="true"/>
            <Interface Name="lo" Enabled="true"/>
            <Interface Name="tun0" Enabled="true"/>
        </NetworkInterfaces>
        <!--Wake on WAN
      - Port: port number on which the wake packet will be sent-->
        <WoWAN Port="9" Enabled="false"/>
    </Network>
    <!--File Browsing-->
    <FileBrowsing Enabled="true"/>
    <!--Notifications (supported notification priorities: 0-Critical, 1-Elevated, 2-Normal, 3-Low)-->
    <Notifications>
        <!--Send a notification when the computer is offline-->
        <WhenOffline Enabled="true"/>
        <!--Send a notification when the computer is online-->
        <OnOnline Priority="2" Enabled="false"/>
        <!--Send a notification when the computer is shutting down-->
        <OnShutdown Priority="0" Enabled="true"/>
        <!--Send a notification when a user logs in-->
        <UserLogsIn Priority="2" Enabled="false"/>
        <!--Send a notification when a user logs out-->
        <UserLogsOut Priority="3" Enabled="false"/>
        <!--Send a notification when the available memory is below a certain percentage (between 10 and 90) for a number of minutes (between 1 and 120)-->
        <MemoryLow Priority="1" Percentage="10" Minutes="1" Enabled="true"/>
        <!--Send a notification when the CPU usage is above a certain percentage (between 10 and 90) for a number of minutes (between 1 and 120)-->
        <HighCpuUsage Priority="1" Percentage="90" Minutes="5" Enabled="false"/>
        <!--Send a notification when the CPU usage is below a certain percentage (between 10 and 90) for a number of minutes (between 1 and 120)-->
        <LowCpuUsage Priority="2" Percentage="10" Minutes="5" Enabled="false"/>
        <!--Send a notification when a port is closed for a number of minutes (between 1 and 120)-->
        <PortClosed Priority="1" Minutes="1" Enabled="false"/>
        <!--Send a notification when a service has stopped for a number of minutes (between 1 and 120)-->
        <ServiceStopped Priority="1" Minutes="1" Enabled="true"/>
        <!--HDD Free Space - send a notification when a HDD free space is low
      - Percentage: the free space percentage (between 10 and 90)
      - Path: the mount path-->
        <LowHDDSpace>
            <Hdd Percentage="10" Path="/" Priority="0" Enabled="true"/>
            <Hdd Percentage="20" Path="/home" Priority="1" Enabled="true"/>
        </LowHDDSpace>
        <!--Send a notification when the public IP address has changed-->
        <IpChange Enabled="true"/>
        <!--Ping Responses-->
        <PingResponses>
            <!--PingResponse
        - Address: IP address or hostname    
        - Milliseconds: a response value that defines a slow ping response
        - Minutes: for how many minutes should the condition stay activated before a notification is sent
        - PriorityOnSlowResponse: notification priority for the slow response notification
        - PriorityOnNoResponse: notification priority for the no response notification
        - Alias: display name -->
            <PingResponse Address="10.10.10.2" Milliseconds="50" Minutes="15" PriorityOnSlowResponse="1" PriorityOnNoResponse="1" Alias="Printer" Enabled="false"/>
            <PingResponse Address="10.10.10.1" Milliseconds="50" Minutes="10" PriorityOnSlowResponse="0" PriorityOnNoResponse="0" Alias="Router" Enabled="false"/>
        </PingResponses>
        <!--Send a notification when a SSL certificate is about to expire or has expired
      - Days: Number of days before the certification expiry date-->
        <SSLCertificateExpiration Days="15" Priority="0" Enabled="true"/>
        <!--Send a notification when a web site is not available
      - Minutes: Number of minutes the web site has not been available-->
        <WebSiteNotAvailable Minutes="1" Priority="0" Enabled="true"/>
    </Notifications>
    <!--Send a copy of every notification to a syslog server
      - Server: Hostname or IP of the syslog server
      - Port: Port of the syslog server-->
    <SyslogServer Server="127.0.0.1" Port="514" Enabled="false">
        <!--Send a status report to the syslog server
        - ReportInterval: Status report send interval (in minutes)-->
        <SendStatusReport ReportInterval="5" Enabled="true">
            <!--Should the report include the processor usage-->
            <IncludeProcessorUsage Enabled="true"/>
            <!--Should the report include the memory usage-->
            <IncludeMemoryUsage Enabled="true"/>
            <!--Should the report include the disk space usage-->
            <IncludeDiskSpaceUsage Enabled="true"/>
            <!--Should the report include the logged in user count-->
            <IncludeLoggedInUsersCount Enabled="true"/>
            <!--Should the report include the network usage-->
            <IncludeNetworkSpeed Enabled="true"/>
            <!--Should the report include the ping round trip times-->
            <IncludePingRoundtripTime Enabled="false"/>
            <!--Should the report include the ping response times-->
            <IncludePingResponses Enabled="false"/>
            <!--Use a different Syslog Server for status report
              - Server: Hostname or IP of the status report custom server
              - Port: Port of the status report custom server-->
            <StatusReportUseCustomServer Server="127.0.0.1" Port="514" Enabled="false"/>
        </SendStatusReport>
    </SyslogServer>
    <!--Maintenance Mode (when the computer is in maintenance mode no notifications will be sent)-->
    <MaintenanceMode Enabled="false"/>
    <!--Proxy Server Settings
    - Host: proxy server IP addressor hostname
    - Port: proxy server port
    - User: proxy server user (optional)
    - Password: proxy server password (optional)-->
    <Proxy Host="proxy.secureconnect.me" Port="7070" User="#user_name" Password="#password" Enabled="true"/>
    <!--Set Pulseway to install new updates automatically-->
    <AutoUpdate Enabled="true"/>
</config>

 

Edited by BruvDBassMan

Share this post


Link to post
Share on other sites
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...