Solved

Problem with centreontrapd

  • 1 July 2022
  • 8 replies
  • 1025 views

Badge +1

I warn I am a beginner; please detail the actions you will give me.
I have unpolished the image CENTOS07 VMWARE OVA Version 22.04
All was working fine but now I have this message:

The message is:
CRITICAL: Number of current processes running: 0

Can you help me to solve this problem
Thank you in advance

icon

Best answer by sduret 5 October 2022, 17:11

View original

8 replies

Userlevel 4
Badge +13

Hello @freal 

Can you copy and paste the command line related to this services? (you can hide the privacy information like IP address)

Also, what is the output of this command and the related monitored host?
 

ps aux |grep -i trap

 

Badge +1

Hi SDuret,

Below is the result

 

Based on CentOS Linux release 7.9.2009 (Core)


[root@srv-centreon ~]# ps aux |grep -i trap
centreon   828  0.0  0.4 207080 18448 ?        Ss   Jun30   0:26 /usr/bin/perl /usr/share/centreon/bin/centreontrapd --logfile=/var/log/centreon/centreontrapd.log --severity=error --config=/etc/centreon/conf.pm --config-extra=/etc/centreon/centreontrapd.pm
root      1202  0.0  0.1 229864  7072 ?        Ss   Jun30   0:03 /usr/sbin/snmptrapd -Lsd -f
root     14981  0.0  0.0 112812  1000 pts/0    R+   10:34   0:00 grep --color=auto -i trap
[root@srv-centreon ~]# ^C
[root@srv-centreon ~]#
 

Userlevel 4
Badge +13

@freal the image is missing 😐

Badge
Hello,I have the same problem, it appeared when updating the plugins:

 

 

Based on CentOS Linux release 7.9.2009 (Core)

[root@centreon-central ~]# ps aux |grep -i trap
root      1060  0.0  0.1 238720  7620 ?        Ss   11:22   0:00 /usr/sbin/snmptrapd -Lsd -f
root      2810  0.0  0.0 112812   984 pts/0    R+   11:31   0:00 grep --color=auto -i trap
[root@centreon-central ~]#
 

Badge

The command line related to this services is:

 

Hello,I have the same problem, it appeared when updating the plugins:

 

 

Based on CentOS Linux release 7.9.2009 (Core)

[root@centreon-central ~]# ps aux |grep -i trap
root      1060  0.0  0.1 238720  7620 ?        Ss   11:22   0:00 /usr/sbin/snmptrapd -Lsd -f
root      2810  0.0  0.0 112812   984 pts/0    R+   11:31   0:00 grep --color=auto -i trap
[root@centreon-central ~]#
 

 

Can you help me to solve this problem
Thank you in advance

Userlevel 4
Badge +13

Hi @ctr 

If you want to monitor the process centreontrapd, the path /usr/sbin/ is wrong.

Can you remove it in the macro PROCESSPATH?

 

If you’re issue is related to the absence of centreontrapd, we will need the status of this process and the related logs.

Badge

Hi sduret

 

Thank you very much for the solution, now it works correctly.

Badge

Hello,

I think have a same problem but i cannot remove PROCESSPATH on service /proc/sshd

Have you got any idea?

Thanks for in advance

 

Reply