Jump to content

AMillar

Members
  • Posts

    2
  • Joined

  • Last visited

  1. Hi Mark, Thanks for getting back to me, that's great. I have managed to get the HPCC_INIT service monitored for now, and I can run the bash start-hpcc.sh start / stop /status in terminal via the app which is great for now. Do keep me posted on any future releases etc, Best Regards Antony
  2. Good Afternoon, We have been using your pulse way product on windows machines for a few years now and are very impressed with it, as it’s been a life saver many of times. This week I have tried implementing the monitoring agent on one of our Ubuntu 12.04 LTS boxes which are running a big data platform powered by HPCC Systems. I have pretty much configured it so it will tell me if drive space is low, CPU usage is high, free memory is low, whether the machine is off or on etc., but I am having problems getting it to tell me of these services HPCC components are running : mydafilesrv mydali mydfuserver myeclagent myeclccserver myeclscheduler myesp myroxie mysasha mythor I have been trying to establish initially if these are actually services rather than processes, and have found some commands online to help : List System D Services : ls /lib/systemd/system/*.service /etc/systemd/system/*.service List System V Init Services : service --status-all # for init scripts: ls /etc/init.d/ # for runlevel symlinks: ls /etc/rc*.d/ UP Start initctl list initctl list | awk '{ print $1 }' | xargs -n1 initctl show-config however the list above does not seem to show up, so I have been doing some trial and error, using each combination in a bid to see the services running on my iPhone, as they currently show as stopped, and cannot be started within the app even though they are running : Here are some things I have tried : <Service Name="myesp" DisplayName="myesp" IsDaemon="true" DaemonType="UPSTART" Path="" StartParameters="" CanBeStopped="true" Enabled="true" /> <Service Name="myroxie" DisplayName="myroxie" IsDaemon="true" DaemonType="NONE" Path="" StartParameters="" CanBeStopped="true" Enabled="true" /> <Service Name="mysasha" DisplayName="mysasha" IsDaemon="true" DaemonType="SYSVINIT" Path="" StartParameters="" CanBeStopped="true" Enabled="true" /> <Service Name="mythor" DisplayName="mythor" IsDaemon="true" DaemonType="SYSTEMD" Path="" StartParameters="" CanBeStopped="true" Enabled="true" /> I have done the same with processes e.g. <Service Name="mythor" DisplayName="mythor" IsDaemon="false" DaemonType="NONE" Path="" StartParameters="" CanBeStopped="true" Enabled="true" /> The only catch here is I am not passing any start-up parameters like your example showed for NTP, are parameters required do you know? <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" /> I was wondering if you had any advice or pointers that may help, as my Ubuntu / Linux skills are limited. If I get this all working then I will be increasing out license count by at least 50 servers. Thanks in advance Antony
×
×
  • Create New...