Search found 1127 matches

Return to advanced search

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:55 pm
 
Forum: Community Support
Topic: custom notification/event_handler in Nagios Core
Replies: 2
Views: 79

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:46 pm
 
Forum: Community Support
Topic: Could not find any hostgroup matching 'linux-servers'
Replies: 1
Views: 35

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 12:39 pm
 
Forum: Community Support
Topic: Nagioc Core wrong returns $HOSTATTEMPT$.
Replies: 2
Views: 89

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
Wed Jun 09, 2021 9:58 am
 
Forum: Community Support
Topic: Nagios Log Server Alerting
Replies: 4
Views: 124

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 10:04 am
 
Forum: Community Support
Topic: Nagios Log Server Alerting
Replies: 4
Views: 124

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
Mon Jun 07, 2021 9:59 am
 
Forum: Community Support
Topic: Is there a way to check multiple hosts with 1 service?
Replies: 1
Views: 41

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:27 pm
 
Forum: Community Support
Topic: monitoring "localhost" non network exposed services
Replies: 1
Views: 2989

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...
by mcapra
Wed Jun 02, 2021 12:21 pm
 
Forum: Community Support
Topic: Performance Data missing
Replies: 4
Views: 2359

Re: Send or output performance data from Powershell script?

I see it as blank. What is "it"? The Powershell script's output when executed from the Windows host? The results received by check_nt or check_nrpe interacting with the Powershell script? Your Nagios graphs? The performance RRDs? Here's the specification for performance data in Nagios plu...
by mcapra
Wed Jun 02, 2021 12:16 pm
 
Forum: Community Support
Topic: Send or output performance data from Powershell script?
Replies: 1
Views: 140

Re: Disk alert is not working properly

Your format looks correct; Here are some sample disk checks, a few of which use the official nagios-plugins check_disk plugin: https://support.nagios.com/kb/article/disk-space-checks-770.html#disk_free_percentage In the server checked I have in the file nrpe command [check_disk] = / usr / lib64 / na...
by mcapra
Wed Jun 02, 2021 12:11 pm
 
Forum: Community Support
Topic: Disk alert is not working properly
Replies: 2
Views: 3020
Next

Return to advanced search