Advertisement
Guest User

Untitled

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