Search found 1072 matches

Return to advanced search

Re: Codes in responses to Nagios Json

What's the exact query you're running? Documentation around those results is a bit sparse. For service/host status mappings, those can be found here: https://github.com/NagiosEnterprises/nagioscore/blob/345fd4e8257085ce7f3806ee4fb04008919f24e5/include/statusdata.h#L143-L159 Many of those fields, lik...
by mcapra
Mon Apr 29, 2019 12:35 pm
 
Forum: Community Support
Topic: Codes in responses to Nagios Json
Replies: 4
Views: 819

Re: Custom Plugin fails with "Service Check Timed Out"

Does the nagios user have perms to run Rscript ? Also to import the webshot library? A pretty common gotcha with R is that the user is completely unable to bring in certain libraries to the R runtime due to perms errors. I would suggest hard-coding the path to your Rscript binary, as Nagios Core doe...
by mcapra
Mon Apr 08, 2019 11:28 am
 
Forum: Community Support
Topic: Custom Plugin fails with "Service Check Timed Out"
Replies: 7
Views: 1239

Re: nrpe.cfg not passing through a global environment variab

However when the nagios user is called, it ignores the environment variables configured in bash.bashrc and profile.d/appenv.sh. Commands executed by NRPE do not run in a shell -- Bash or otherwise. They are executed via popen . They therefore do not inherit environment variables defined in a partic...
by mcapra
Wed Mar 27, 2019 11:46 am
 
Forum: Community Support
Topic: nrpe.cfg not passing through a global environment variable.
Replies: 4
Views: 1450

Re: Alert on % change?

Nagios Core by itself isn't really built for the monitoring of time-series data. Nagios XI keeps a time-series for every check that it is capable of keeping a time-series for . As far as open source solutions go, pnp4nagios exists to keep a time-series of performance data per Nagios object in RRDs, ...
by mcapra
Tue Mar 26, 2019 10:13 am
 
Forum: Community Support
Topic: Alert on % change?
Replies: 2
Views: 503

Re: ESXi root has special passwords and Nagios isn't taking

Here's the general purpose "special characters" KB article: https://support.nagios.com/kb/article.php?id=580 I would suggest storing this password in a macro, then referencing that macro in your service definition. You can define custom macros in a resource file , then reference them in yo...
by mcapra
Mon Mar 25, 2019 10:46 am
 
Forum: Community Support
Topic: ESXi root has special passwords and Nagios isn't taking it
Replies: 2
Views: 754

Re: I don' t want install nsclient ++ all HYPERV hosts .

Can I monitoring to all machines only install nsclient to one machine ? That is an NSClient++ specific question, likely better asked on their forums as no one here maintains NSClient++: https://forums.nsclient.org/ Based on my understanding of NSClient++, that is not possible. It was designed to be...
by mcapra
Mon Mar 25, 2019 8:32 am
 
Forum: Community Support
Topic: I don' t want install nsclient ++ all HYPERV hosts .
Replies: 5
Views: 998

Re: How to change alert email to json format

Nagios Core dispatches notifications via notification/event handlers , which reference a specific command to execute. Here are the default ones: # 'notify-host-by-email' command definition define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagio...
by mcapra
Fri Mar 22, 2019 11:21 am
 
Forum: Community Support
Topic: How to change alert email to json format
Replies: 6
Views: 1294

Re: Nagios Thinks check_results_path is read-only

What OS and version of that OS are being used on this machine? Sounds like one of your mounts is set to read-only for one reason or another.

What is the output of the following command, executed from the CLI of your Nagios Core machine:
Code: Select all
cat /proc/mounts
by mcapra
Thu Mar 21, 2019 2:17 pm
 
Forum: Community Support
Topic: Nagios Thinks check_results_path is read-only
Replies: 2
Views: 492

Re: How to configure nagios to take action

What agent is being used on the Windows machine? NSClient++ and NCPA are the two most common. This documentation covers leveraging a Nagios event handler with NSClient++: https://assets.nagios.com/downloads/nagiosxi/docs/Restarting-Windows-Services-With-NRPE-in-Nagios-XI.pdf The documentation mentio...
by mcapra
Wed Mar 20, 2019 12:26 pm
 
Forum: Community Support
Topic: How to configure nagios to take action
Replies: 4
Views: 716

Re: What are some good GUI based editors for Nagios?

Nagios XI is by far the most feature-rich one. In the "more free" space, NagiosQL and NConf are the 2 big ones. Both of which could definitely use some more maintainers :) which is the story for most free front-ends for Nagios Core. I've not used Lilac , but it looks basically OK. I prefe...
by mcapra
Fri Mar 15, 2019 12:44 pm
 
Forum: Community Support
Topic: What are some good GUI based editors for Nagios?
Replies: 4
Views: 842
PreviousNext

Return to advanced search