Preventing to add a contact

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mdsupersonic
Posts: 84
Joined: Fri May 13, 2016 2:25 pm

Re: Preventing to add a contact

Post by mdsupersonic »

here is the output of runnig this command ps -aef | grep nagios.cfg


[root@tornagios3 tmp]# ps -aef | grep nagios.cfg
nagios 9187 1 0 15:21 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 9201 9187 0 15:21 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 10880 7987 0 15:23 pts/0 00:00:00 grep --color=auto nagios.cfg
[root@tornagios3 tmp]#

I have 2 service running but I can not kill them.

killall -g nagios
nagios: no process found
[root@tornagios3 tmp]#

this syntax is right ? killall -g Nagios
it can not kill :(
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Preventing to add a contact

Post by Box293 »

Code: Select all

killall -9 nagios
Two processes are normal.
The first line is PID 9187 which is the parent processes.
The second line is PID 9201 which is a child of the parent process, that is why the second number is 9187.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked