Search found 32 matches

by tezarin
Thu Dec 21, 2017 11:22 am
Forum: Open Source Nagios Projects
Topic: How to enable notification?
Replies: 3
Views: 1954

Re: How to enable notification?

Below is a contact with all of the possible directives. Notice host_notification_commands and service_notification_commands . It would appear you don't have those. define contact{ contact_name contact_name alias alias contactgroups contactgroup_names minimum_value # host_notifications_enabled [0/1]...
by tezarin
Thu Dec 21, 2017 10:19 am
Forum: Open Source Nagios Projects
Topic: How to enable notification?
Replies: 3
Views: 1954

How to enable notification?

Hi all, Edit - I just edited my first post and fixed all of the other errors, the ones remaining are below. BAsically I would like to enable notifications in Nagios: I just installed Nagios and after modifying the config files I am getting an error: Error: Contact 'nagiosadmin' has no service notifi...
by tezarin
Mon Feb 01, 2016 5:08 pm
Forum: Open Source Nagios Projects
Topic: Nagios custom check_http plugin
Replies: 4
Views: 2100

Re: Nagios custom check_http plugin

Check_http should work fine for this. You'll want to use the -e flag. Here's an example of it - [root@suse11 libexec]# ./check_http -H nagios.com -e 301 HTTP OK: Status line output matched "301" - 522 bytes in 0.089 second response time |time=0.089382s;;;0.000000 size=522B;;;0 Does that a...
by tezarin
Mon Feb 01, 2016 3:13 pm
Forum: Open Source Nagios Projects
Topic: Nagios custom check_http plugin
Replies: 4
Views: 2100

Nagios custom check_http plugin

Hi all, I would like to use the check_http plugin to check on the status of a website and if the get request returns anything but 415, I get a critical. So 415 is the OK status for that server. Will that be something that I can use Nagios's default check_http plugin or I should use a custom made per...
by tezarin
Wed Oct 14, 2015 2:23 pm
Forum: Open Source Nagios Projects
Topic: NRPE issue - port 5666: Connection refused
Replies: 5
Views: 27263

Re: NRPE issue - port 5666: Connection refused

Thanks for your reply, here are the outputs: service xinetd status xinetd start/running, process 36720 cat /etc/xinetd.d/nrpe # default: on # description: NRPE (Nagios Remote Plugin Executor) service nrpe { flags = REUSE type = UNLISTED port = 5666 socket_type = stream wait = no user = nagios group ...
by tezarin
Tue Oct 13, 2015 12:50 pm
Forum: Open Source Nagios Projects
Topic: NRPE issue - port 5666: Connection refused
Replies: 5
Views: 27263

Re: NRPE issue - port 5666: Connection refused

Thanks for your reply. Both machines are Ubuntu. So I was able to fix the NRPE issue on the server by installing nagios-nrpe-plugin Now when I run ./check_nrpe -H localhost on the server, I get the version back: NRPE v2.13 but this will fail: But on the remote host, I can't get NRPE to work: root@se...
by tezarin
Fri Oct 09, 2015 3:00 pm
Forum: Open Source Nagios Projects
Topic: NRPE issue - port 5666: Connection refused
Replies: 5
Views: 27263

NRPE issue - port 5666: Connection refused

Hi all, I am trying to get NRPE to monitor a remote host for me but I'm getting an error. On the server: nmap localhost 5666/tcp open nrpe netstat -ant tcp6 0 0 :::5666 :::* LISTEN So far so good, but at the same time, I get an error when I try: /usr/lib/nagios/plugins/check_tcp -H localhost -p 5666...
by tezarin
Tue Aug 04, 2015 2:20 pm
Forum: Open Source Nagios Projects
Topic: check_pgsql doesn't work
Replies: 19
Views: 12491

Re: check_pgsql doesn't work

Sure, thanks much
by tezarin
Tue Aug 04, 2015 12:41 pm
Forum: Open Source Nagios Projects
Topic: check_pgsql doesn't work
Replies: 19
Views: 12491

Re: check_pgsql doesn't work

Jolson,

Thanks much for your great reply, I will see if I can get authorization to install something on the remote host first and we go from there.
by tezarin
Mon Aug 03, 2015 4:11 pm
Forum: Open Source Nagios Projects
Topic: check_pgsql doesn't work
Replies: 19
Views: 12491

Re: check_pgsql doesn't work

Jolson,

Thanks for your reply. You said I should use check_by_ssh, could you elaborate on that a little? What will I achieve if I replace the check_tcp with check_by_ssh? Any examples on how to use it to monitor rabbitmq and pgsql?

Thanks