Advertisement
Guest User

Untitled

a guest
Sep 17th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.61 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <config xmlns="http://www.pulseway.com/linuxconfig">
  3. <!--Pulseway Linux Monitoring Agent - pulseway.com -->
  4.  
  5. <!--Account Information
  6. - Username: your Pulseway username
  7. - Password: your Pulseway password (the plain password will be automatically encrypted the next time the Pulseway service starts)
  8. - UseCustomServer: enable this option only if you have a dedicated Enterprise Server assigned to your account
  9. - CustomServerAddress: your Enterprise Server address-->
  10. <Account Username="" Password="" UseCustomServer="false" CustomServerAddress="" />
  11.  
  12. <!--Computer Information
  13. - Name: computer name used for display and listing (by default the Linux computer name will be used)
  14. - Group: commputer group name-->
  15. <ComputerInformation Name="" Group="Default" />
  16.  
  17. <!--System Commands-->
  18. <AllowedCommands>
  19. <Restart Allowed="true" />
  20. <ShutDown Allowed="true" />
  21. <PowerOff Allowed="true" />
  22. <Suspend Allowed="false" />
  23. <Hibernate Allowed="false" />
  24. </AllowedCommands>
  25.  
  26. <!--Monitored Services-->
  27. <MonitoredServices>
  28. <!--Service
  29. - Name: service name
  30. - DisplayName: friendly name used for display
  31. - IsDaemon: 'true' if the monitored service is a daemon and 'false' if the monitored service is a process
  32. - DaemonType: system management daemon type: NONE, SYSVINIT, UPSTART or SYSTEMD
  33. - Path: path of the monitored service (this is used when the monitored service is a process)
  34. - StartParameters: parameters used to start the monitored service (this is used when the monitored service is a process)
  35. - CanBeStopped: 'true' or 'false'-->
  36. <Service Name="cups" DisplayName="CUPS Service" IsDaemon="true" DaemonType="SYSVINIT" Path="" StartParameters="" CanBeStopped="true" Enabled="false" />
  37. <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" />
  38. <Service Name="ssh" DisplayName="SSH Daemon" IsDaemon="true" DaemonType="UPSTART" Path="" StartParameters="" CanBeStopped="true" Enabled="false" />
  39. <Service Name="SuSEfirewall2.service" DisplayName="SuSE Firewall Service" IsDaemon="true" DaemonType="SYSTEMD" Path="" StartParameters="" CanBeStopped="true" Enabled="false" />
  40. </MonitoredServices>
  41.  
  42. <!--SSL Certificates and Web Sites-->
  43. <Web>
  44. <!--SSL Certificates-->
  45. <Certificates>
  46. <!--Certificate
  47. - Server: server name or IP address
  48. - Port: server port-->
  49. <Certificate Server="google.com" Port="443" Enabled="false" />
  50. <Certificate Server="microsoft.com" Port="443" Enabled="false" />
  51. </Certificates>
  52.  
  53. <!--Web Sites-->
  54. <WebSites>
  55. <!--WebSite
  56. - Url: web site Url
  57. - Type: method used for testing the web site - HEAD or GET
  58. - Name: name used for display-->
  59. <WebSite Url="http://www.google.com" Type="HEAD" Name="Google (using HEAD)" Enabled="false" />
  60. <WebSite Url="http://www.intel.com" Type="GET" Name="Intel (using GET)" Enabled="false" />
  61. </WebSites>
  62. </Web>
  63.  
  64. <!--Network-->
  65. <Network>
  66.  
  67. <!--Ping
  68. - Server: server IP address or hostname-->
  69. <Ping Server="8.8.8.8" Enabled="false"/>
  70.  
  71. <!--Ports-->
  72. <MonitoredPorts>
  73. <!--Port
  74. - Type: TCP or UDP
  75. - Number: port number
  76. - Name: port name
  77. - Address: computer name or IP address (for UDP only localhost or 127.0.0.1 are valid)-->
  78. <Port Type="TCP" Number="80" Name="Google (port 80)" Address="www.google.com" Enabled="false"/>
  79. <Port Type="TCP" Number="443" Name="Google (port 443)" Address="www.google.com" Enabled="false"/>
  80. <Port Type="UDP" Number="53" Name="DNS" Address="127.0.0.1" Enabled="false"/>
  81. </MonitoredPorts>
  82.  
  83. <!--Network Interfaces-->
  84. <NetworkInterfaces>
  85. <!--Interface
  86. - Name: interface name-->
  87. <Interface Name="eth0" Enabled="false"/>
  88. <Interface Name="eth1" Enabled="false"/>
  89. </NetworkInterfaces>
  90.  
  91. <!--Wake on WAN
  92. - Port: port number on which the wake packet will be sent-->
  93. <WoWAN Port="9" Enabled="false" />
  94. </Network>
  95.  
  96. <!--File Browsing-->
  97. <FileBrowsing Enabled="false" />
  98.  
  99. <!--Notifications (supported notification priorities: 0-Critical, 1-Elevated, 2-Normal, 3-Low)-->
  100. <Notifications>
  101.  
  102. <!--Send a notification when the computer is offline-->
  103. <WhenOffline Enabled="false" />
  104.  
  105. <!--Send a notification when the computer is online-->
  106. <OnOnline Priority="2" Enabled="false" />
  107.  
  108. <!--Send a notification when the computer is shutting down-->
  109. <OnShutdown Priority="0" Enabled="true" />
  110.  
  111. <!--Send a notification when a user logs in-->
  112. <UserLogsIn Priority="2" Enabled="false" />
  113.  
  114. <!--Send a notification when a user logs out-->
  115. <UserLogsOut Priority="3" Enabled="false" />
  116.  
  117. <!--Send a notification when the available memory is below a certain percentage (between 10 and 90)-->
  118. <MemoryLow Priority="1" Percentage="10" Enabled="false" />
  119.  
  120. <!--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)-->
  121. <HighCpuUsage Priority="1" Percentage="90" Minutes="5" Enabled="false" />
  122.  
  123. <!--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)-->
  124. <LowCpuUsage Priority="2" Percentage="10" Minutes="5" Enabled="false" />
  125.  
  126. <!--Send a notification when a port is closed for a number of minutes (between 1 and 120)-->
  127. <PortClosed Priority="1" Minutes="1" Enabled="false" />
  128.  
  129. <!--Send a notification when a service has stopped for a number of minutes (between 1 and 120)-->
  130. <ServiceStopped Priority="1" Minutes="1" Enabled="false"/>
  131.  
  132. <!--HDD Free Space - send a notification when a HDD free space is low
  133. - Percentage: the free space percentage (between 10 and 90)
  134. - Path: the mount path-->
  135. <LowHDDSpace>
  136. <Hdd Percentage="10" Path="/" Priority="0" Enabled="false"/>
  137. <Hdd Percentage="20" Path="/home" Priority="1" Enabled="false"/>
  138. </LowHDDSpace>
  139.  
  140. <!--Send a notification when the public IP address has changed-->
  141. <IpChange Enabled="false"/>
  142.  
  143. <!--Ping Responses-->
  144. <PingResponses>
  145. <!--PingResponse
  146. - Address: IP address or hostname
  147. - Milliseconds: a response value that defines a slow ping response
  148. - Minutes: for how many minutes should the condition stay activated before a notification is sent
  149. - PriorityOnSlowResponse: notification priority for the slow response notification
  150. - PriorityOnNoResponse: notification priority for the no response notification
  151. - Alias: display name -->
  152. <PingResponse Address="10.10.10.2" Milliseconds="50" Minutes="15" PriorityOnSlowResponse="1" PriorityOnNoResponse="1" Alias="Printer" Enabled="false" />
  153. <PingResponse Address="10.10.10.1" Milliseconds="50" Minutes="10" PriorityOnSlowResponse="0" PriorityOnNoResponse="0" Alias="Router" Enabled="false" />
  154. </PingResponses>
  155.  
  156. <!--Send a notification when a SSL certificate is about to expire or has expired
  157. - Days: Number of days before the certification expiry date-->
  158. <SSLCertificateExpiration Days="15" Priority="0" Enabled="true"/>
  159.  
  160. <!--Send a notification when a web site is not available
  161. - Minutes: Number of minutes the web site has not been available-->
  162. <WebSiteNotAvailable Minutes="1" Priority="0" Enabled="true"/>
  163.  
  164. </Notifications>
  165.  
  166. <!--Send a copy of every notification to a syslog server
  167. - Server: Hostname or IP of the syslog server
  168. - Port: Port of the syslog server-->
  169. <SyslogServer Server="127.0.0.1" Port="514" Enabled="false">
  170. <!--Send a status report to the syslog server
  171. - ReportInterval: Status report send interval (in minutes)-->
  172. <SendStatusReport ReportInterval="5" Enabled="false">
  173. <!--Should the report include the processor usage-->
  174. <IncludeProcessorUsage Enabled="false"/>
  175. <!--Should the report include the memory usage-->
  176. <IncludeMemoryUsage Enabled="false"/>
  177. <!--Should the report include the disk space usage-->
  178. <IncludeDiskSpaceUsage Enabled="false"/>
  179. <!--Should the report include the logged in user count-->
  180. <IncludeLoggedInUsersCount Enabled="false"/>
  181. <!--Should the report include the network usage-->
  182. <IncludeNetworkSpeed Enabled="false"/>
  183. <!--Should the report include the ping round trip times-->
  184. <IncludePingRoundtripTime Enabled="false"/>
  185. <!--Should the report include the ping response times-->
  186. <IncludePingResponses Enabled="false"/>
  187. <!--Use a different Syslog Server for status report
  188. - Server: Hostname or IP of the status report custom server
  189. - Port: Port of the status report custom server-->
  190. <StatusReportUseCustomServer Server="127.0.0.1" Port="514" Enabled="false"/>
  191. </SendStatusReport>
  192. </SyslogServer>
  193.  
  194. <!--Maintenance Mode (when the computer is in maintenance mode no notifications will be sent)-->
  195. <MaintenanceMode Enabled="false" />
  196.  
  197. <!--Proxy Server Settings
  198. - Host: proxy server IP addressor hostname
  199. - Port: proxy server port
  200. - User: proxy server user (optional)
  201. - Password: proxy server password (optional)-->
  202. <Proxy Host="proxy.host" Port="8080" User="" Password="" Enabled="false" />
  203.  
  204. <!--Set Pulseway to install new updates automatically-->
  205. <AutoUpdate Enabled="true" />
  206.  
  207. </config>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement