CentOS7 gearman_top2 connection refused

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

CentOS7 gearman_top2 connection refused

Post by dlukinski »

Hello XI support

we have followed mod_gearman install manul to get worker operational on the remote CentOS7 Linux, also installed as Selenium IDE environment & server.
Cannot get gearman_top2 command to run (screenshot attached). Firewall configurations as follows:

Code: Select all

[root@localhost ~]# firewall-cmd --list-all
public (default, active)
  interfaces: eth0
  sources:
  services: dhcpv6-client ssh
  ports: 5666/tcp 5667/tcp 2888/tcp 4730/udp 4730/tcp 4444/tcp
  masquerade: no
  forward-ports:
  icmp-blocks:
  rich rules:
[code/]
You do not have the required permissions to view the files attached to this post.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: CentOS7 gearman_top2 connection refused

Post by mcapra »

To be clear, are you trying to run gearman_top2 from the gearman worker? Because that will not work.

From the document:
https://assets.nagios.com/downloads/nag ... ios_XI.pdf
You can view the jobs, processes, and workers by running the following on the Master server
gearman_top2
gearman_top2 is run from the master server to get a summary of the gearman environment.
Former Nagios employee
https://www.mcapra.com/
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: CentOS7 gearman_top2 connection refused

Post by dlukinski »

mcapra wrote:To be clear, are you trying to run gearman_top2 from the gearman worker? Because that will not work.

From the document:
https://assets.nagios.com/downloads/nag ... ios_XI.pdf
You can view the jobs, processes, and workers by running the following on the Master server
gearman_top2
gearman_top2 is run from the master server to get a summary of the gearman environment.
Oh. forgot that.

How to stop/start worker on the remote Linux w/o reboots?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: CentOS7 gearman_top2 connection refused

Post by lmiltchev »

You could run from the command line:

Code: Select all

service mod-gearman2-worker stop
service mod-gearman2-worker start
Be sure to check out our Knowledgebase for helpful articles and solutions!
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: CentOS7 gearman_top2 connection refused

Post by dlukinski »

lmiltchev wrote:You could run from the command line:

Code: Select all

service mod-gearman2-worker stop
service mod-gearman2-worker start
Of course, old version of the manual has it "_" in

Code: Select all

service mod_gearman2_worker "start/stop/status/restart"
[code/]

Please close the case
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: CentOS7 gearman_top2 connection refused

Post by mcapra »

Closing per your request
Former Nagios employee
https://www.mcapra.com/
Locked