Aaron Blakeley Posted December 29, 2015 Share Posted December 29, 2015 We are using pulse way to monitor our web server. It is unbuntu and the problem I am having is with basic configuration. I am really unsure how to tell pulseway to monitor the mysql, apache and nginx services. Could someone show me an example configuration for these services? Link to comment Share on other sites More sharing options...
Staff Chris Posted December 30, 2015 Staff Share Posted December 30, 2015 Hi Aaron, Welcome to the Pulseway community, there are some examples on the sample configuration files, did you give them a go? Also depending on the Ubuntu version you may have different INIT daemons which is crucial to know how the services are working on your system. Chris Link to comment Share on other sites More sharing options...
Aaron Blakeley Posted December 30, 2015 Author Share Posted December 30, 2015 Full disclosure. I am not very intimate with the inner working of our webserver. I do see that I want to monitor apache, mysql, and our different versions of PHP. What I am unsure of is if those are considered deamons or services, what kind of services they might be and if I need to point the paths to the bins(wherever they are) or if I just point the path to the general location? Any help will be appreciated. To answer your question: I did read over the examples but the questions I listed above came up and after some serious googling was unable to find correct answers. Link to comment Share on other sites More sharing options...
Staff Chris Posted January 4, 2016 Staff Share Posted January 4, 2016 Hi Aaron, The configuration of the services depends on the operating system and the init daemon (UPSTART, SYSVINIT or SYSTEMD). May I know what operating system you're using and what init daemon you have installed? Chris Link to comment Share on other sites More sharing options...
PinnacleHD Posted March 14, 2016 Share Posted March 14, 2016 This is what I use to monitor NGINX on Debian/Ubuntu <Service Name="nginx" DisplayName="NGINX Daemon" IsDaemon="true" DaemonType="SYSVINIT" Path="" StartParameters="" CanBeStopped="false" Enabled="true"/> The trick was to change the Daemon Type to SYSVINIT - then Pulseway would detect the service and work with it. I believe Apache will work the same way but the name would need to be Apache2 or HTTPD - not sure which as I have not used Apache in ages... Hope this helps. Chris 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now