Search found 26 matches

by atc0005
Tue Nov 22, 2022 8:58 am
Forum: Open Source Nagios Projects
Topic: Limit max notifications
Replies: 1
Views: 805

Re: Limit max notifications

Does anyone know if there's a way to send 1 notification that basically says "hey there's a problem, go check it out" no matter what or how many host(s) or service(s) triggers the alert It sounds like you probably want to setup a dependency so that if the specified host & service is d...
by atc0005
Wed Jun 22, 2022 7:21 am
Forum: Open Source Nagios Projects
Topic: Nagios plugins with Golang
Replies: 1
Views: 648

Re: Nagios plugins with Golang

should I rewrite all my nagios agents with golang ? That's a significant task to pursue. I'd instead suggest looking at the smallest usable plugin you can create and implement that. As you gain confidence you can implement more complex plugins. I took a similar path and learned a lot from the proce...
by atc0005
Mon Apr 04, 2022 1:23 pm
Forum: Open Source Nagios Projects
Topic: Warning Monitoring Windows Server 2019 - Nagios Core
Replies: 2
Views: 628

Re: Warning Monitoring Windows Server 2019 - Nagios Core

YUDI wrote:Hi,
and from Nagios server I got warning message "could not fetch information from server".
Can you connect to port 12489/tcp from the Nagios server?

I recommend using nmap to test this if you haven't already.

For example:

Code: Select all

sudo nmap -sT -v -p 12489 192.168.11.70
by atc0005
Fri Mar 11, 2022 5:30 pm
Forum: Open Source Nagios Projects
Topic: Nagios Core unreachable website checks
Replies: 19
Views: 4040

Re: Nagios Core unreachable website checks

I'd continue the troubleshooting efforts by checking DNS results, using curl and/or a CLI browser like lynx and other tooling to verify connectivity between the Nagios instance you're trying to fix and the website you'd like to monitor. I'd also check whether apparmor or selinux are getting in the w...
by atc0005
Fri Mar 11, 2022 5:18 pm
Forum: Open Source Nagios Projects
Topic: Nagios Core unreachable website checks
Replies: 19
Views: 4040

Re: Nagios Core unreachable website checks

That output is from the non fully functional nagios server. Thanks for clarifying. Are you talking about on my local firewall? I was referring to a local firewall on the snapgeek.com host (which nmap reports as 99.198.101.250) or anything that might be between the non-functioning Nagios server and ...
by atc0005
Fri Mar 11, 2022 5:03 pm
Forum: Open Source Nagios Projects
Topic: Nagios Core unreachable website checks
Replies: 19
Views: 4040

Re: Nagios Core unreachable website checks

Poor wording on my part. When I asked which server "the output" was from, I failed to clarify which output. I've quoted it above in an effort to be clearer. $ nmap -sT -p 80,443 snapgeek.com Starting Nmap 7.80 ( https://nmap.org ) at 2022-03-11 11:30 CST Nmap scan report for snapgeek.com (...
by atc0005
Fri Mar 11, 2022 2:37 pm
Forum: Open Source Nagios Projects
Topic: Nagios Core unreachable website checks
Replies: 19
Views: 4040

Re: Nagios Core unreachable website checks

port 443 is open on host. I have another nagios server which can use the same checks on my website Is the output you provided from the nagios server reporting "CRITICAL - Socket timeout", or from the second nagios server that you mentioned? Do you get the same results when running "h...
by atc0005
Fri Mar 11, 2022 12:20 pm
Forum: Open Source Nagios Projects
Topic: Nagios Core unreachable website checks
Replies: 19
Views: 4040

Re: Nagios Core unreachable website checks

One approach that has worked well for me in the past when troubleshooting service checks is to run them as the same user account that executes the plugin and also run the commands with the same arguments as the Nagios instance. 1) Login to Nagios Core system/console 2) sudo --login --user nagios 3) ...
by atc0005
Tue Mar 08, 2022 2:57 pm
Forum: Nagios XI
Topic: Any issues with relocating /usr/local/nagios/share/perfdata?
Replies: 8
Views: 571

Re: Any issues with relocating /usr/local/nagios/share/perfd

Hi pbroste , You are correct that the '/usr/local/nagiosxi/var/sysstat.log' will be picked up by '/usr/local/nagiosxi/var/*log' It was and disk space is within tolerance at the moment. attached is the copy of the appended sudoers conf's that should be listed in your '/etc/sudoers' I checked and all ...
by atc0005
Fri Mar 04, 2022 10:00 am
Forum: Nagios XI
Topic: Any issues with relocating /usr/local/nagios/share/perfdata?
Replies: 8
Views: 571

Re: Any issues with relocating /usr/local/nagios/share/perfd

Will test directly modifying the /etc/logrotate.d/nagiosxi file to include the missing su directive. I added this line: su nagios nagios which puts the file in this state: /usr/local/nagiosxi/var/*log { missingok notifempty size 5M su nagios nagios rotate 1 compress } /usr/local/nagiosxi/var/xidebu...