Search found 36 matches
- Thu Dec 18, 2014 9:42 pm
- Forum: Open Source Nagios Projects
- Topic: Dont work notifications
- Replies: 8
- Views: 4295
Re: Dont work notifications
Yes, it works. sudo -u nagios /usr/local/nagios/libexec/xsend.py user1@xmpp "Test message" commands.cfg: # 'user1-host' command definition define command{ command_name user1-host command_line $USER1$/xsend.py user1@xmpp "Host '$HOSTNAME$' ,^! $HOSTALIAS$ ,^! is $HOSTSTATE$ ,^! $_HOSTP...
- Wed Dec 17, 2014 10:03 pm
- Forum: Open Source Nagios Projects
- Topic: Dont work notifications
- Replies: 8
- Views: 4295
Re: Dont work notifications
This is doesnt resolve problem. I added this string into xsend.py. import warnings warnings.filterwarnings("ignore", category=DeprecationWarning) import sys,os,xmpp,time This disabled warnings. [nagios@host libexec]#./xsend.py user1@xmpp "Test message" [nagios@host libexec]# But ...
- Wed Dec 17, 2014 3:53 am
- Forum: Open Source Nagios Projects
- Topic: Dont work notifications
- Replies: 8
- Views: 4295
Re: Dont work notifications
I noticed the following. In Nagios 3 interval between sending notification previous and next recipient about 3 seconds. In all 4 Nagios alerts appear immediately, at one point, and after the fire exception. May be a problem with that?
- Wed Dec 17, 2014 12:02 am
- Forum: Open Source Nagios Projects
- Topic: Dont work notifications
- Replies: 8
- Views: 4295
Re: Dont work notifications
I solved this problem. I delete group admins from templates and it begun work. But now I have another problev. Notifications works for email and perl sendxmpp scripts but doens't work for script xsend.py (script on python). If I run this script from terminal, it works, I see message. But if I run it...
- Tue Dec 16, 2014 4:58 am
- Forum: Open Source Nagios Projects
- Topic: Dont work notifications
- Replies: 8
- Views: 4295
Dont work notifications
Hi! I use nagios 4.0.2, ndoutil 2.0 and snmptt 1.4 on CentOS 6.5 and I have a problem. Dont work notifications on a critical events. This is /var/log/messages Dec 16 16:38:29 mon-27 nagios: SERVICE ALERT: cluster260node1;TRAP;CRITICAL;HARD;1;This is test message Dec 16 16:39:13 mon-27 nagios: EXTERN...
- Fri Dec 12, 2014 5:16 am
- Forum: Open Source Nagios Projects
- Topic: Error in ndoutils-2.0.0
- Replies: 2
- Views: 1063
Re: Error in ndoutils-2.0.0
I solved this problem.
I raised up number in msgmax and msgmnb
also added it in /etc/sysctl.conf
I raised up number in msgmax and msgmnb
Code: Select all
echo 131072000 > /proc/sys/kernel/msgmax
echo 131072000 > /proc/sys/kernel/msgmnb
- Thu Dec 11, 2014 9:50 pm
- Forum: Open Source Nagios Projects
- Topic: Error in ndoutils-2.0.0
- Replies: 2
- Views: 1063
Error in ndoutils-2.0.0
Hi! I have nagios 4.0.8 and ndoutils-2.0.0 on CentOS 6.5. Everything worked well until restart nagios. After restar in /var/log/message I see this error: Dec 11 18:02:02 mon-27 ndo2db: Warning: queue send error, retrying... Dec 11 18:02:03 mon-27 ndo2db: Message sent to queue. Dec 11 18:02:03 mon-27...
- Tue Dec 09, 2014 4:45 am
- Forum: Open Source Nagios Projects
- Topic: Plugin installation error
- Replies: 4
- Views: 3289
Re: Plugin installation error
Are you able to create symbolic links by hand? Just as an example: cd /root/ ln -s /etc/resolv.conf ./resolv.conf I run install in root directory. It installed some plugines in /usr/local/nagio/libexec, but I received this mistake: libtool: link: gcc -DNP_VERSION=\"2.0.3\" -g -O2 -o check...
- Tue Dec 09, 2014 4:31 am
- Forum: Open Source Nagios Projects
- Topic: Plugin installation error
- Replies: 4
- Views: 3289
Re: Plugin installation error
rhassing wrote:Are you able to create symbolic links by hand?
Just as an example:Code: Select all
cd /root/ ln -s /etc/resolv.conf ./resolv.conf
Code: Select all
ln -s /etc/resolv.conf ./resolv.conf
- Tue Dec 09, 2014 2:12 am
- Forum: Open Source Nagios Projects
- Topic: Plugin installation error
- Replies: 4
- Views: 3289
Plugin installation error
Hi! I try to install nagios-plugins-2.0.3 on CentOS 6.5 and after make command I see this error: /bin/sh ../libtool --tag=CC --mode=link gcc -DNP_VERSION='"2.0.3"' -g -O2 -L. -o check_dig check_dig.o libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lm -lpthread -ldl libt...