Search found 8 matches

by tastas
Fri Mar 09, 2018 4:35 pm
Forum: Open Source Nagios Projects
Topic: check_udp return CRITICAL -Socket timeout
Replies: 4
Views: 3718

Re: check_udp return CRITICAL -Socket timeout

This is the output of the tcpdump [root@monitor]# tcpdump -i any port 2001 tcpdump: listening on any, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes 13:05:54.347220 IP (tos 0x0, ttl 64, id 15029, offset 0, flags [DF], proto UDP (17), length 96) monitor.example.com.45501 > dmp.example....
by tastas
Thu Mar 08, 2018 5:33 pm
Forum: Open Source Nagios Projects
Topic: check_udp return CRITICAL -Socket timeout
Replies: 4
Views: 3718

check_udp return CRITICAL -Socket timeout

I need some assistance with the check_udp plugin. I am trying to send a HEX string "02 33 34 41 38 20 20 31 32 33 34 35 20 73 30 37 30 30 30 33 30 20 0D" and get a "02 31 32 33 34 35 06 0D" back. I get CRITICAL - Socket timeout every time. See below. I used a packet sender tool a...
by tastas
Thu Sep 07, 2017 11:27 am
Forum: Open Source Nagios Projects
Topic: Nagios.Service start operation timed out. Terminating
Replies: 10
Views: 5835

Re: Nagios.Service start operation timed out. Terminating

Scott... you are a genius. That worked. Change the lock_file to /usr/local/nagios/var/run/nagios.pid worked. Just curious, does the nagios.pid file have to be in a particular location?

Thank you so much Scott.

-David
by tastas
Wed Sep 06, 2017 11:41 am
Forum: Open Source Nagios Projects
Topic: Nagios.Service start operation timed out. Terminating
Replies: 10
Views: 5835

Re: Nagios.Service start operation timed out. Terminating

Same symptom and error after adding the line lock_file=/usr/local/nagios/var/nagios.pid. Note: There is another lock_file in the config. I commented it out as well as left both lock_file in there and it's the same thing. [root@monitor etc]# vi nagios.cfg [root@monitor etc]# systemctl start nagios.se...
by tastas
Tue Sep 05, 2017 4:41 pm
Forum: Open Source Nagios Projects
Topic: Nagios.Service start operation timed out. Terminating
Replies: 10
Views: 5835

Re: Nagios.Service start operation timed out. Terminating

It can write to the following locations without any problems. All files and folders within /usr/local/nagios are owned by nagios:nagios. I even tested with sudo'ing as Nagios and writing 123 as a test. It created the file without any problems. Thank you for your help. ls -al /usr/local/nagios/var/ru...
by tastas
Tue Sep 05, 2017 1:46 pm
Forum: Open Source Nagios Projects
Topic: Nagios.Service start operation timed out. Terminating
Replies: 10
Views: 5835

Re: Nagios.Service start operation timed out. Terminating

When running /usr/sbin/nagios -d /usr/local/nagios/etc/nagios.cfg, it loaded the application fine. hmm... Why wouldn't systemctl start nagios works?
by tastas
Fri Sep 01, 2017 5:28 pm
Forum: Open Source Nagios Projects
Topic: Nagios.Service start operation timed out. Terminating
Replies: 10
Views: 5835

Re: Nagios.Service start operation timed out. Terminating

You are correct. It must have occurred when I attempted to reinstall nagios to correct the issue. I changed the nagios.service to /usr/local/nagios/bin/nagios and it didnt make any difference. /USR/LOCAL/NAGIOS/ETC/NAGIOS.CFG ##########################################################################...
by tastas
Fri Sep 01, 2017 12:48 pm
Forum: Open Source Nagios Projects
Topic: Nagios.Service start operation timed out. Terminating
Replies: 10
Views: 5835

Nagios.Service start operation timed out. Terminating

My nagios broke and I can't figure out what the problem is. It happened after I tried to install nagvis and check_mk. I wasnt able to successfully getting nagvis working but that's an issue I will address at a later time. Now whenever I type systemctl start nagios.service, it would hang in that prom...