I am trying to install the pulseway agent on a linux device (proxmox VE), but the registration is not working. After I run `pulseway-registration` and follow instructions, then I run `systemctl status pulseway`, this is the output that I get:
● pulseway.service - Remotely Monitor and Control IT Systems
Loaded: loaded (/etc/systemd/system/pulseway.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2023-03-31 18:15:15 AEDT; 13min ago
Process: 1837126 ExecStartPre=/bin/sleep 10 (code=exited, status=0/SUCCESS)
Main PID: 1837160 (pulsewayd)
Tasks: 6 (limit: 38345)
Memory: 3.5M
CPU: 2.735s
CGroup: /system.slice/pulseway.service
└─1837160 /usr/sbin/pulsewayd --no-daemonize
Mar 31 18:26:22 pve pulseway[1837160]: Error while registering computer: SOAP 1.1 fault SOAP-ENV:Client[no subcode]
"Error 400: HTTP 400 Bad Request"
Detail: [no detail]
Mar 31 18:26:38 pve pulseway[1837160]: Error while registering computer: SOAP 1.1 fault SOAP-ENV:Client[no subcode]
"Error 400: HTTP 400 Bad Request"
Detail: [no detail]
Mar 31 18:26:54 pve pulseway[1837160]: Error while registering computer: SOAP 1.1 fault SOAP-ENV:Client[no subcode]
"Error 400: HTTP 400 Bad Request"
Detail: [no detail]
Mar 31 18:27:10 pve pulseway[1837160]: Error while registering computer: SOAP 1.1 fault SOAP-ENV:Client[no subcode]
"Error 400: HTTP 400 Bad Request"
Detail: [no detail]
Mar 31 18:27:26 pve pulseway[1837160]: Error while registering computer: SOAP 1.1 fault SOAP-ENV:Client[no subcode]
"Error 400: HTTP 400 Bad Request"
Detail: [no detail]
Mar 31 18:27:42 pve pulseway[1837160]: Error while registering computer: SOAP 1.1 fault SOAP-ENV:Client[no subcode]
"Error 400: HTTP 400 Bad Request"
Detail: [no detail]
Mar 31 18:27:59 pve pulseway[1837160]: Error while registering computer: SOAP 1.1 fault SOAP-ENV:Client[no subcode]
"Error 400: HTTP 400 Bad Request"
Detail: [no detail]
Mar 31 18:28:16 pve pulseway[1837160]: Error while registering computer: SOAP 1.1 fault SOAP-ENV:Client[no subcode]
"Error 400: HTTP 400 Bad Request"
Detail: [no detail]
Mar 31 18:28:33 pve pulseway[1837160]: Error while registering computer: SOAP 1.1 fault SOAP-ENV:Client[no subcode]
"Error 400: HTTP 400 Bad Request"
Detail: [no detail]
This is the config file located at `/etc/pulseway/config.xml`
<?xml version="1.0" encoding="utf-8"?><configxmlns="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="<username>" Password="<hashedpassword>" UseCustomServer="false" CustomServerAddress="" Token=""/>
<!--Computer Information
- Name: computer name used for display and listing (by default the Linux computer name will be used)
- Group: commputer group name--><ComputerInformationName=""Group="Default"/><!--System Commands--><AllowedCommands><RestartAllowed="true"/><ShutDownAllowed="true"/><PowerOffAllowed="true"/><SuspendAllowed="false"/><HibernateAllowed="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'--><ServiceName="cups"DisplayName="CUPS Service"IsDaemon="true"DaemonType="SYSVINIT"Path=""StartParameters=""CanBeStopped="true"Enabled="false"/><ServiceName="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"/><ServiceName="ssh"DisplayName="SSH Daemon"IsDaemon="true"DaemonType="UPSTART"Path=""StartParameters=""CanBeStopped="true"Enabled="false"/><ServiceName="SuSEfirewall2.service"DisplayName="SuSE Firewall Service"IsDaemon="true"DaemonType="SYSTEMD"Path=""StartParameters=""CanBeStopped="true"Enabled="false"/></MonitoredServices><!--SSL Certificates and Web Sites--><Web><!--SSL Certificates--><Certificates><!--Certificate
- Server: server name or IP address
- Port: server port--><CertificateServer="google.com"Port="443"Enabled="false"/><CertificateServer="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--><WebSiteUrl="http://www.google.com"Type="HEAD"Name="Google (using HEAD)"Enabled="false"/><WebSiteUrl="http://www.intel.com"Type="GET"Name="Intel (using GET)"Enabled="false"/></WebSites></Web><!--Network--><Network><!--Ping
- Server: server IP address or hostname--><PingServer="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)--><PortType="TCP"Number="80"Name="Google (port 80)"Address="www.google.com"Enabled="false"/><PortType="TCP"Number="443"Name="Google (port 443)"Address="www.google.com"Enabled="false"/><PortType="UDP"Number="53"Name="DNS"Address="127.0.0.1"Enabled="false"/></MonitoredPorts><!--Network Interfaces--><NetworkInterfaces><!--Interface
- Name: interface name--><InterfaceName="eth0"Enabled="false"/><InterfaceName="eth1"Enabled="false"/></NetworkInterfaces><!--Wake on WAN
- Port: port number on which the wake packet will be sent--><WoWANPort="9"Enabled="false"/></Network><!--File Browsing--><FileBrowsingEnabled="false"/><!--Notifications (supported notification priorities: 0-Critical, 1-Elevated, 2-Normal, 3-Low)--><Notifications><!--Send a notification when the computer is offline--><WhenOfflineEnabled="false"/><!--Send a notification when the computer is online--><OnOnlinePriority="2"Enabled="false"/><!--Send a notification when the computer is shutting down--><OnShutdownPriority="0"Enabled="true"/><!--Send a notification when a user logs in--><UserLogsInPriority="2"Enabled="false"/><!--Send a notification when a user logs out--><UserLogsOutPriority="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)--><MemoryLowPriority="1"Percentage="10"Minutes="1"Enabled="false"/><!--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)--><HighCpuUsagePriority="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)--><LowCpuUsagePriority="2"Percentage="10"Minutes="5"Enabled="false"/><!--Send a notification when a port is closed for a number of minutes (between 1 and 120)--><PortClosedPriority="1"Minutes="1"Enabled="false"/><!--Send a notification when a service has stopped for a number of minutes (between 1 and 120)--><ServiceStoppedPriority="1"Minutes="1"Enabled="false"/><!--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><HddPercentage="10"Path="/"Priority="0"Enabled="false"/><HddPercentage="20"Path="/home"Priority="1"Enabled="false"/></LowHDDSpace><!--Send a notification when the public IP address has changed--><IpChangeEnabled="false"/><!--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 --><PingResponseAddress="10.10.10.2"Milliseconds="50"Minutes="15"PriorityOnSlowResponse="1"PriorityOnNoResponse="1"Alias="Printer"Enabled="false"/><PingResponseAddress="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--><SSLCertificateExpirationDays="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--><WebSiteNotAvailableMinutes="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--><SyslogServerServer="127.0.0.1"Port="514"Enabled="false"><!--Send a status report to the syslog server
- ReportInterval: Status report send interval (in minutes)--><SendStatusReportReportInterval="5"Enabled="false"><!--Should the report include the processor usage--><IncludeProcessorUsageEnabled="false"/><!--Should the report include the memory usage--><IncludeMemoryUsageEnabled="false"/><!--Should the report include the disk space usage--><IncludeDiskSpaceUsageEnabled="false"/><!--Should the report include the logged in user count--><IncludeLoggedInUsersCountEnabled="false"/><!--Should the report include the network usage--><IncludeNetworkSpeedEnabled="false"/><!--Should the report include the ping round trip times--><IncludePingRoundtripTimeEnabled="false"/><!--Should the report include the ping response times--><IncludePingResponsesEnabled="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--><StatusReportUseCustomServerServer="127.0.0.1"Port="514"Enabled="false"/></SendStatusReport></SyslogServer><!--Maintenance Mode (when the computer is in maintenance mode no notifications will be sent)--><MaintenanceModeEnabled="false"/><!--Proxy Server Settings
- Host: proxy server IP addressor hostname
- Port: proxy server port
- User: proxy server user (optional)
- Password: proxy server password (optional)--><ProxyHost="proxy.host"Port="8080"User=""Password=""Enabled="false"/><!--Set Pulseway to install new updates automatically--><AutoUpdateEnabled="true"/></config>
Unable to register linux device
in Linux
Posted
I am trying to install the pulseway agent on a linux device (proxmox VE), but the registration is not working. After I run `pulseway-registration` and follow instructions, then I run `systemctl status pulseway`, this is the output that I get:
This is the config file located at `/etc/pulseway/config.xml`