Skip to main content
Solved

Problem with centreontrapd

  • July 1, 2022
  • 8 replies
  • 1607 views

Forum|alt.badge.img+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

Best answer by sduret

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.

8 replies

sduret
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • July 4, 2022

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

 


Forum|alt.badge.img+1
  • Author
  • Steward *
  • July 4, 2022

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 ~]#
 


sduret
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • July 4, 2022

@freal the image is missing 😐


Forum|alt.badge.img
  • Steward *
  • October 5, 2022
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 ~]#
 


Forum|alt.badge.img
  • Steward *
  • October 5, 2022

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


sduret
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • Answer
  • October 5, 2022

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.


Forum|alt.badge.img
  • Steward *
  • October 6, 2022

Hi sduret

 

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


Forum|alt.badge.img
  • Steward *
  • May 17, 2023

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