Search found 16 matches
- Mon Oct 16, 2017 12:49 am
- Forum: Open Source Nagios Projects
- Topic: Plotting host ping times.
- Replies: 2
- Views: 1280
Plotting host ping times.
Hi A host is usually defined by define host { use sometemplate hostname somehostname address www.xxx.yyy.zzz. ... } where the template is defined as define host { name sometemplate ... check_command check-host-alive ... } and the command is like: define command { name check-host-alive command_line /...
- Mon Oct 16, 2017 12:24 am
- Forum: Open Source Nagios Projects
- Topic: How can I monitor a Nagios Server from external server?
- Replies: 5
- Views: 3584
Re: How can I monitor a Nagios Server from external server?
Thanks @mcapra I also will add that many people monitor their monitoring server from a second Nagios server. I would suggest monitoring it just like you would any other critical server/service. Install NRPE, on your monitoring server, monitor disk, load, memory and the nagios service at the very mi...
- Fri Oct 06, 2017 9:04 pm
- Forum: Open Source Nagios Projects
- Topic: How can I monitor a Nagios Server from external server?
- Replies: 5
- Views: 3584
How can I monitor a Nagios Server from external server?
Hi My nagios server sits behind a firewall wall in a DMZ zone. If the server itself is down OR the nagios daemon has fallen over it will not be able to send messages to the admins and we wouldn't have a clue that something is wrong with any of the machines/services it monitors. I already have some c...
- Mon Aug 29, 2016 12:36 am
- Forum: Open Source Nagios Projects
- Topic: For one server nrpe-2.14 works, nrpe-3.0 does not
- Replies: 6
- Views: 7693
Re: For one server nrpe-2.14 works, nrpe-3.0 does not
This is an explanation of the issue. The problem only occurs for nrpe > 3.X, it does not occur for example using nrpe 2.14 If you have this on the NRPE client server_address=172.16.1.1 allowed_hosts=127.0.0.1,192.168.1.1 and issue a command on the machine 192.168.1.1 like so check_nrpe -H 172.16.1.1...
- Sun Aug 28, 2016 11:50 pm
- Forum: Open Source Nagios Projects
- Topic: For one server nrpe-2.14 works, nrpe-3.0 does not
- Replies: 6
- Views: 7693
Re: For one server nrpe-2.14 works, nrpe-3.0 does not
allowed_hosts=127.0.0.1,NAGIOS_CORE_SERVER , ANOTHER_HOST There is a space after the comma, does this make a difference if you remove the space? Are you using IP addresses or dns entires? Are they IPv6 addresses? Hi, thanks for the reply. I edited my original reply as I found the issue. The space i...
- Fri Aug 26, 2016 9:37 pm
- Forum: Open Source Nagios Projects
- Topic: For one server nrpe-2.14 works, nrpe-3.0 does not
- Replies: 6
- Views: 7693
Re: For one server nrpe-2.14 works, nrpe-3.0 does not
EDIT: I heavily edited this reply! I figured out the problem - the error messages are oh so very misleading. In the moment I believe it's a bug - I will need to do some more debugging before I will say this for sure. EDIT: it IS a bug, I now know where it comes from. The Nagios core server is a mult...
- Thu Aug 25, 2016 2:16 am
- Forum: Open Source Nagios Projects
- Topic: For one server nrpe-2.14 works, nrpe-3.0 does not
- Replies: 6
- Views: 7693
For one server nrpe-2.14 works, nrpe-3.0 does not
Hi. I am using nagios-4.2.0 as the Nagios Core Server, it runs CentOS6.X - all latest patches Most servers I can monitor but one , all monitored servers run the same CentOS6.X (all patches) using nrpe 3.0. If I downgrade that one server to nrpe 2.14 (with ssl), it works, happily. If I upgrade that o...
- Sat Aug 10, 2013 12:56 am
- Forum: Open Source Nagios Projects
- Topic: changing user level with default_user_name set?
- Replies: 1
- Views: 849
changing user level with default_user_name set?
Hi If I set the default user in the cgi.cfg file to default_user_name=blah and protect the directory by some other means, e.g AuthType Digest require valid-user AuthUserFile /path/somepasswordfile then once the user is logged in though apache login mechanism the user can see the services as configur...
- Sat Aug 03, 2013 8:04 pm
- Forum: Open Source Nagios Projects
- Topic: Ping without warning/critical possible (check if up/down)?
- Replies: 10
- Views: 8153
Re: Ping without warning/critical possible (check if up/down
jobst, http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN76 plugin return codes do include unknown (exit with 3). This is usually reserved for handling exceptions however. -Yancy Yancy, I know what the return codes are ... that is not my problem. If you look at the code above you can s...
- Fri Aug 02, 2013 1:02 am
- Forum: Open Source Nagios Projects
- Topic: Ping without warning/critical possible (check if up/down)?
- Replies: 10
- Views: 8153
Re: Ping without warning/critical possible (check if up/down
If you set the script to return STATE_UNKNOWN (3) it will be flagged as down and red ... Is the check returning "3"? Can you run it in the command line, then run: echo $? Hi lmiltchev This is the last part of the script: /bin/ping -c 1 -W 3 $ipaddress > /dev/null 2> /dev/null if [ $? -eq ...