Search found 19 matches

by realtebo
Thu Jun 13, 2019 8:06 am
Forum: Open Source Nagios Projects
Topic: check_http see certificate as near to expiring, not true.
Replies: 1
Views: 673

check_http see certificate as near to expiring, not true.

I'm checking a website certificate (obviously, not really example.com) using mirko@nagios:/usr/local/nagios$ ./libexec/check_http -H www.example.com -C 14 --sni -v Actually it prints SSL WARNING - Certificate 'www.example.com' expires in 6 day(s) (2019-06-20 14:00 +0200/CEST). Navigating with a brow...
by realtebo
Tue Apr 09, 2019 7:17 am
Forum: Open Source Nagios Projects
Topic: How to stop receiving flap detection email?
Replies: 1
Views: 653

How to stop receiving flap detection email?

I want flap detection to still be enabled, but not to receive all of flapping detection related email.

Is this possible?
by realtebo
Tue Apr 09, 2019 5:12 am
Forum: Open Source Nagios Projects
Topic: How to check free ram using nrpe?
Replies: 6
Views: 3468

Re: How to check free ram using nrpe?

I wrote down all my notes about setup of nagios on controller machine, and various agent, plugins, etc..

https://gist.github.com/realtebo/8d6a48 ... 6c4baea94a

This topic can be closed
by realtebo
Sat Mar 30, 2019 4:22 am
Forum: Open Source Nagios Projects
Topic: NCPA: How to get more info via email?
Replies: 1
Views: 3228

NCPA: How to get more info via email?

I have a server which every days, at a different hour, has a spike of cpu % usage. I am interesting on the output of this api /api/processes?cpu_percent=10&check=true&warning=2&critical=3 Which can result into something like { "perfdata": "'process_count'=1;2;3;", &qu...
by realtebo
Tue Mar 19, 2019 11:13 am
Forum: Open Source Nagios Projects
Topic: How to check free ram using nrpe?
Replies: 6
Views: 3468

Re: How to check free ram using nrpe?

Question...

I downloaded and installed both

Code: Select all

https://downloads.sourceforge.net/project/nagios/nrpe-3.x/nrpe-3.2.1.tar.gz
and

Code: Select all

https://github.com/nagios-plugins/nagios-plugins/archive/release-2.2.1.tar.gz
What is the agent ?! I never see / used before
by realtebo
Tue Mar 19, 2019 11:11 am
Forum: Open Source Nagios Projects
Topic: How to check free ram using nrpe?
Replies: 6
Views: 3468

Re: How to check free ram using nrpe?

Code: Select all

# locate custom_check_mem
locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory
by realtebo
Tue Mar 19, 2019 10:23 am
Forum: Open Source Nagios Projects
Topic: ncpa running, port opened, but via browser is not reachable
Replies: 4
Views: 1611

Re: ncpa running, port opened, but via browser is not reacha

Resolved:

I must explicitly connect using https:

Code: Select all

https://<ip>:5693
And not to

Code: Select all

http://<ip>:5693
by realtebo
Tue Mar 19, 2019 10:11 am
Forum: Open Source Nagios Projects
Topic: ncpa running, port opened, but via browser is not reachable
Replies: 4
Views: 1611

ncpa running, port opened, but via browser is not reachable

I succesfully installed NCPA on a Debian 9.4. I see # /etc/init.d/ncpa_listener status NCPA Listener: Service is running. (pid 16681) And # iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT tcp -- anywhere anywhere tcp dpt:5693 Chain FORWARD (policy ACCEPT) target pro...
by realtebo
Mon Mar 18, 2019 11:42 am
Forum: Open Source Nagios Projects
Topic: How to check free ram using nrpe?
Replies: 6
Views: 3468

How to check free ram using nrpe?

On the controller remote host I installed both nrpe and plugins

In the

Code: Select all

nrpe.cfg
file I can see

Code: Select all

command[check_mem]=/usr/local/nagios/libexec/custom_check_mem -n $ARG1$
But On the disk there is not file named

Code: Select all

custom_check_mem
What am I missing on my remote host config?