Search found 3722 matches

by mcapra
Mon Jun 21, 2021 9:47 am
Forum: Open Source Nagios Projects
Topic: check_esx3.pl Script problem?
Replies: 2
Views: 1148

Re: check_esx3.pl Script problem?

That's a pretty CPU intensive plugin in general. You may need to run it on a dedicated machine. One way to distribute your active check work is with mod-gearman: https://exchange.nagios.org/directory/Addons/Distributed-Monitoring/Mod-Gearman/details But you could just as easily spin up a dedicated V...
by mcapra
Tue Jun 15, 2021 11:25 am
Forum: Nagios XI
Topic: JMX with SSL
Replies: 2
Views: 143

Re: JMX with SSL

What should we do from our nagios server to make the SSL connection with the target springboot server. With com.sun.management.jmxremote.ssl.need.client.auth=true , the truststore your Spring Boot app has loaded would need to trust the certificate presented by check_jmx/JMXQuery. You could just cop...
by mcapra
Wed Jun 09, 2021 12:55 pm
Forum: Open Source Nagios Projects
Topic: custom notification/event_handler in Nagios Core
Replies: 3
Views: 1441

Re: custom notification/event_handler in Nagios Core

1. Is there any way we can run custom event handler script on remote host using event_handler option while defining a service. while testing it looks like script runs on local Nagios core server and not on remote host Your understanding is correct; Out-of-the-box, Nagios Core runs every command (ev...
by mcapra
Wed Jun 09, 2021 12:46 pm
Forum: Open Source Nagios Projects
Topic: Could not find any hostgroup matching 'linux-servers'
Replies: 4
Views: 1311

Re: Could not find any hostgroup matching 'linux-servers'

Error: Could not find any hostgroup matching 'linux-server' (config file '/usr/local/nagios/etc/objects/windowserver.cfg', starting on line 14) I checked the templates.cfg and the linux-servers hostgroup exist there. But the error is looking for linux-server singular, not linux-servers plural? You'...
by mcapra
Wed Jun 09, 2021 12:39 pm
Forum: Open Source Nagios Projects
Topic: Nagioc Core wrong returns $HOSTATTEMPT$.
Replies: 2
Views: 876

Re: Nagioc Core wrong returns $HOSTATTEMPT$.

What exactly is your event handler trying to do? How i can contact with devs about this problem? GitHub issues are the best way to report bugs: https://github.com/NagiosEnterprises/nagioscore/issues Why when the host is checked a second time in the SOFT mode $HOSTATTEMPT$ returns 1 but it should be ...
by mcapra
Wed Jun 09, 2021 9:58 am
Forum: Open Source Nagios Projects
Topic: Nagios Log Server Alerting
Replies: 5
Views: 1631

Re: Nagios Log Server Alerting

I'd try refining your search. I don't have a cluster or set of documents to test against, but I suspect given the escape characters bit I mentioned earlier, the --ERROR-- search is matching this block of the message you don't want to alert on:

Code: Select all

error code [0];
by mcapra
Mon Jun 07, 2021 10:04 am
Forum: Open Source Nagios Projects
Topic: Nagios Log Server Alerting
Replies: 5
Views: 1631

Re: Nagios Log Server Alerting

When querying your logs normally via the Nagios Log Server GUI, do you see the same behavior? That --WARN-- logs show up when you simply put --ERROR-- into the search bar? It's hard for me to say exactly what is going on without some sample logs and the exact search queries being used. - is a reserv...
by mcapra
Mon Jun 07, 2021 9:59 am
Forum: Open Source Nagios Projects
Topic: Is there a way to check multiple hosts with 1 service?
Replies: 5
Views: 8953

Re: Is there a way to check multiple hosts with 1 service?

I would like to be notified if 50% of my applications are DOWN because I have a load balancer. You can use the BPI module with Nagios Core for this: https://github.com/NagiosEnterprises/nagiosbpi I think the check_multi plugin can do this logical grouping as well: https://github.com/flackem/check_m...
by mcapra
Wed Jun 02, 2021 12:27 pm
Forum: Open Source Nagios Projects
Topic: monitoring "localhost" non network exposed services
Replies: 1
Views: 10198

Re: monitoring "localhost" non network exposed services

I am curious if there is a way to monitor non standard services or those that dont have internal commands, which only listen to localhost binding and are not network exposed? You can use passive checks to "push" results to Nagios Core, rather than having Nagios Core reach out to an agent ...
by mcapra
Wed Jun 02, 2021 12:21 pm
Forum: Open Source Nagios Projects
Topic: Performance Data missing
Replies: 4
Views: 11500

Re: Performance Data missing

Per the plugin development guidelines: https://nagios-plugins.org/doc/guidelines.html#PLUGOUTPUT You should always print something to STDOUT that tells if the service is working or why it is failing. Try to keep the output short - probably less that 80 characters. Remember that you ideally would lik...