I have been using Pulseway for some months now and everything was good until yesterday when I rebooted the machine the agent is running on.
This machine went throught Linux updates some days before so I think this is related.
What I experience is that when the service starts, reads the configuration, but after a second the daemon exits with code 11 as you can see below.
● pulseway.service -RemotelyMonitor and Control IT SystemsLoaded: loaded (/etc/systemd/system/pulseway.service; enabled; vendor preset: enabled)Active: failed (Result: signal) since Sat2019-08-0323:42:38 WEST;1s ago
Process:23493ExecStart=/usr/sbin/pulsewayd --no-daemonize (code=killed, signal=SEGV)Main PID:23493(code=killed, signal=SEGV)
ago 0323:42:35 BLUEMONSTER systemd[1]:StartedRemotelyMonitor and Control IT Systems.
ago 0323:42:35 BLUEMONSTER pulseway[23493]:StartingPulsewayDaemon version 6.1(2019022801)
ago 0323:42:35 BLUEMONSTER pulseway[23493]:Configuration read successfully!
ago 0323:42:37 BLUEMONSTER pulseway[23493]:Got exception signal:11
ago 0323:42:38 BLUEMONSTER systemd[1]: pulseway.service:Main process exited, code=killed, status=11/SEGV
ago 0323:42:38 BLUEMONSTER systemd[1]: pulseway.service:Failed with result 'signal'.
I actually think it starts the daemon, as I get the notification in the app telling me that the machine went offline, which means the status had to change to online somewhere along the way, right?
Does anyone have an idea of what may be wrong with my setup?
Below is a copy of my 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--><AccountUsername=""Password=""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="BLUEMONSTER"Group="BLUEMONSTER"/><!--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="netmaster.pt"Port="443"Enabled="true"/></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="https://netmaster.pt"Type="GET"Name="NetMaster Site"Enabled="true"/></WebSites></Web><!--Network--><Network><!--Ping
- Server: server IP address or hostname--><PingServer="8.8.8.8"Enabled="false"/><PingServer="8.8.4.4"Enabled="false"/><PingServer="9.9.9.9"Enabled="false"/><PingServer="127.0.0.53"Enabled="false"/><!--Network Interfaces--><NetworkInterfaces><!--Interface
- Name: interface name--><InterfaceName="enp3s0"Enabled="false"/><InterfaceName="docker0"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="true"/><!--Notifications (supported notification priorities: 0-Critical, 1-Elevated, 2-Normal, 3-Low)--><Notifications><!--Send a notification when the computer is offline--><WhenOfflineEnabled="true"/><!--Send a notification when the computer is online--><OnOnlinePriority="2"Enabled="true"/><!--Send a notification when the computer is shutting down--><OnShutdownPriority="0"Enabled="true"/><!--Send a notification when a user logs in--><UserLogsInPriority="2"Enabled="true"/><!--Send a notification when a user logs out--><UserLogsOutPriority="3"Enabled="true"/><!--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="2"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)--><HighCpuUsagePriority="1"Percentage="80"Minutes="2"Enabled="true"/><!--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="5"Minutes="5"Enabled="true"/><!--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="25"Path="/"Priority="0"Enabled="true"/><HddPercentage="20"Path="/home"Priority="1"Enabled="false"/></LowHDDSpace><!--Send a notification when the public IP address has changed--><IpChangeEnabled="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 --><PingResponseAddress="192.168.1.1"Milliseconds="50"Minutes="15"PriorityOnSlowResponse="1"PriorityOnNoResponse="1"Alias="Router"Enabled="false"/><PingResponseAddress="192.168.1.2"Milliseconds="50"Minutes="10"PriorityOnSlowResponse="0"PriorityOnNoResponse="0"Alias="Repeter"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="7"Priority="0"Enabled="false"/><!--Send a notification when a web site is not available
- Minutes: Number of minutes the web site has not been available--><WebSiteNotAvailableMinutes="5"Priority="0"Enabled="false"/></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"/><!--Set Pulseway to install new updates automatically--><AutoUpdateEnabled="true"/></config>
Agent Daemon won't start on Linux Ubuntu 18.04 64-bit
in Linux
Posted
Hi there,
I have been using Pulseway for some months now and everything was good until yesterday when I rebooted the machine the agent is running on.
This machine went throught Linux updates some days before so I think this is related.
What I experience is that when the service starts, reads the configuration, but after a second the daemon exits with code 11 as you can see below.
I actually think it starts the daemon, as I get the notification in the app telling me that the machine went offline, which means the status had to change to online somewhere along the way, right?
Does anyone have an idea of what may be wrong with my setup?
Below is a copy of my config.xml
Any help is appreciated,
Thanks