Search found 9 matches

by Rovendra
Tue Sep 19, 2017 8:32 am
Forum: Open Source Nagios Projects
Topic: Status critical
Replies: 14
Views: 9000

Re: Status critical

Here is a print screen of the check_snmp command definition:
commands.cfg.PNG
commands.cfg.PNG (3.79 KiB) Viewed 2420 times

Thanks!
by Rovendra
Mon Sep 18, 2017 3:45 pm
Forum: Open Source Nagios Projects
Topic: Status critical
Replies: 14
Views: 9000

Re: Status critical

Hi friends, I've found a workaround for my issue, instead of using -r for the regex I'm using -c 1: which sets a threshold range that states that anything equals to 1 or bigger is OK while a 0 gives me a critical status (that's the behavior i wanted to achieve). That still doesn't explain why the re...
by Rovendra
Mon Sep 18, 2017 12:50 pm
Forum: Open Source Nagios Projects
Topic: Status critical
Replies: 14
Views: 9000

Re: Status critical

I'm not sure if this helps but here is a screenshot of the debug log file:
debbug_haproxy.png
Thanks!
by Rovendra
Mon Sep 18, 2017 12:36 pm
Forum: Open Source Nagios Projects
Topic: Status critical
Replies: 14
Views: 9000

Re: Status critical

Hi lmiltchev,

I've tried a force check and nothing changed. I've tried debbuging and it's showing critical status in the logs as well.

Here is the haproxy service configuration file:
haproxy_service_config.PNG
Thanks in advance.
by Rovendra
Fri Sep 15, 2017 3:17 pm
Forum: Open Source Nagios Projects
Topic: Status critical
Replies: 14
Views: 9000

Re: Status critical

This is the output of the 'ps -ef --cols=300' command: [root@help /]# ps -ef --cols=300 UID PID PPID C STIME TTY TIME CMD root 1 0 0 Apr05 ? 00:00:52 /sbin/init root 2 0 0 Apr05 ? 00:00:00 [kthreadd] root 3 2 0 Apr05 ? 00:01:31 [migration/0] root 4 2 0 Apr05 ? 00:01:17 [ksoftirqd/0] root 5 2 0 Apr05...
by Rovendra
Thu Sep 14, 2017 1:18 pm
Forum: Open Source Nagios Projects
Topic: Status critical
Replies: 14
Views: 9000

Re: Status critical

Ok guys, I've found out more information. Looking into old pictures of nagios I've found that spawning 2 processes in haproxy and 7 in apache are supposed to be normal. So I'm guessing something changed in nagios (I don't know how that is possible since nobody touched this server) that is now treati...
by Rovendra
Thu Sep 14, 2017 11:19 am
Forum: Open Source Nagios Projects
Topic: Status critical
Replies: 14
Views: 9000

Re: Status critical

Ok guys Just to give an update on what happened since I had this problem. I've finally was able to figure out that the message is critical because I have more then 1 haproxy running on the server. That's why the answer is 2 and not 1, but that still means it's ok. Now I have two more questions ... t...
by Rovendra
Thu Aug 17, 2017 3:13 pm
Forum: Open Source Nagios Projects
Topic: Status critical
Replies: 14
Views: 9000

Re: Status critical

This is the check command run directly on the nagios server:
by Rovendra
Thu Aug 17, 2017 1:31 pm
Forum: Open Source Nagios Projects
Topic: Status critical
Replies: 14
Views: 9000

Status critical

Hi all, I'm new to nagios, so I'm sorry if it's a newbie question :D :D . I've got nagios running to monitor some services and one of them is a haproxy service. I had internet issues yesterday and my servers were down for a couple hours. The problem is that after everything is back online and workin...