Search found 52 matches
- Fri Dec 19, 2014 11:05 am
- Forum: Open Source Nagios Projects
- Topic: Dont work notifications
- Replies: 8
- Views: 5222
Re: Dont work notifications
There isn't a simple way to force Nagios 4 to only run one notification at a time right now. I think it would be nice if xsend.py and sendxmpp did this since it seems to be an issue with the XMPP protocol. Could a XMPP bot like this one work: http://nagibot.sourceforge.net/ http://nagibot.sourceforg...
- Thu Dec 18, 2014 12:46 pm
- Forum: Open Source Nagios Projects
- Topic: Return code of 126 is out of bounds error for plugin
- Replies: 4
- Views: 3145
Re: Return code of 126 is out of bounds error for plugin
The target of the check_oracle_login symlink needs to be executable by the nagios user too. Assuming $USER1$ is /usr/local/nagios/libexec: ls -l /usr/local/nagios/libexec/check_oracle_login ls -lL /usr/local/nagios/libexec/check_oracle_login Should give output like this (for check_udp on a test syst...
- Thu Dec 18, 2014 11:58 am
- Forum: Open Source Nagios Projects
- Topic: Dont work notifications
- Replies: 8
- Views: 5222
Re: Dont work notifications
!!!Sendxmpp and xsend work if I run it from terminal!!! Have you tried running them as the nagios user? sudo -u nagios /usr/local/nagios/libexec/xsend.py user1@xmpp "Test message" This is to be sure user account differences don't confuse things. Can you post the service_notification_comma...
- Wed Dec 17, 2014 4:02 pm
- Forum: Open Source Nagios Projects
- Topic: Dont work notifications
- Replies: 8
- Views: 5222
Re: Dont work notifications
This is a common problem with xmpppy since Python 2.6 was released. Are you using this xsend.py: http://xmpppy.sourceforge.net/examples/xsend.py or a script like it? You can try this workaround until a fixed version of xmpp is available. In xsend.py add this before the "import sys,os,xmpp,time&...
- Wed Dec 17, 2014 11:18 am
- Forum: Open Source Nagios Projects
- Topic: Simple Check config / Restart script
- Replies: 2
- Views: 2699
Re: Simple Check config / Restart script
Thanks trazzdk! Some of this could be useful to have in the init script itself so it reports errors better. There is a "/etc/init.d/nagios configtest" command that runs "nagios -vp ..." but doesn't do a summary like your script. The current "/etc/init.d/nagios start" an...
- Wed Dec 17, 2014 10:56 am
- Forum: Open Source Nagios Projects
- Topic: Check_HP plugin installation and use
- Replies: 23
- Views: 10622
Re: Check_HP plugin installation and use
This is what I get once I've run the debug command: "bash: /usr/local/nagios/libexec/check_hp: /usr/lib/nagios/plugins: bad interpreter: Permission denied" so looks like its referencing the plugin in a different directory? Did you edit /usr/local/nagios/libexec/check_hp to change the line...
- Tue Dec 16, 2014 5:34 pm
- Forum: Open Source Nagios Projects
- Topic: mongoDB Nagios Monitoring
- Replies: 15
- Views: 9531
Re: mongoDB Nagios Monitoring
Dear All, Cannot understand this execution, according to me every this fine but unable to get manage, please help me out. mongoDB NRPE Error - Nagios Support.jpg Did you get your original problem fixed? It's easier for us to help you if we keep threads to one topic. Does your plugin live at "/...
- Tue Dec 16, 2014 4:37 pm
- Forum: Nagios Log Server
- Topic: Logs stop coming in
- Replies: 26
- Views: 8666
Re: Logs stop coming in
This was the Java VM running out of heap memory. You can increase this by setting ES_HEAP_SIZE in /etc/sysconfig/elasticsearch. The general recommendation is to give it half of the available RAM. It looks like you have about 16GB total, so: ES_HEAP_SIZE=8g MAX_LOCKED_MEMORY=unlimited That last line ...
- Mon Dec 15, 2014 5:10 pm
- Forum: Nagios XI
- Topic: error writing to data sink
- Replies: 9
- Views: 4754
Re: error writing to data sink
Was the extra space the problem? I'll fix this for the next release of ndoutils.kendallchenoweth wrote:I'm going to do some more checking, but I think that probably solved the problem. Thanks!
- Mon Dec 15, 2014 1:26 pm
- Forum: Nagios XI
- Topic: error writing to data sink
- Replies: 9
- Views: 4754
Re: error writing to data sink
Dec 15 12:21:36 ip-10-154-25-117 ndo2db: Error: Could not connect to MySQL database: Unknown MySQL server host 'nagiosxi-qa01.cyomeuveb6ni.us-east-1.rds.amazonaws.com ' (1) So it looks like there is an issue with your DB configuration. (I thought that would result in ndo2db not reading any input fr...