Search found 33 matches

by ekapsner
Wed Jun 03, 2026 9:38 am
Forum: Nagios XI
Topic: $ sign in free variables
Replies: 2
Views: 481

Re: $ sign in free variables

nagios-retail , Custom variable macros are now being stripped of dangerous characters due to security concerns. In /usr/local/nagios/etc/nagios.cfg , there is the illegal_macro_output_chars config option, which determines which characters are stripped from macros. If you want to use a $ sign in cus...
by ekapsner
Thu May 21, 2026 1:32 pm
Forum: Nagios XI
Topic: Custom scripts transfer
Replies: 1
Views: 2784

Re: Custom scripts transfer

Hello Polydipsia , After the plugins have been successfully added to the XI server, commands still need to be defined, just like in Core. In Configure -> Core Config Manager -> Commands, one can add new commands from those plugins and define them with the same syntax as Core configs. Here is some do...
by ekapsner
Wed Apr 22, 2026 4:45 pm
Forum: Open Source Nagios Projects
Topic: Fail to install nagios-plugins-release-2.4.11
Replies: 4
Views: 5204

Re: Fail to install nagios-plugins-release-2.4.11

Hi @m_sadu,

On what version of Debian are you installing this? The documentation has not yet been updated for Debian 12 or 13 and there might be some issues with packages.

Thanks,
- Emmett
by ekapsner
Wed Apr 22, 2026 11:14 am
Forum: Open Source Nagios Projects
Topic: CHECK_NRPE: Receive header underflow - only -1 bytes received (4 expected
Replies: 4
Views: 4691

Re: CHECK_NRPE: Receive header underflow - only -1 bytes received (4 expected

Hi @soigan23,

I'm glad you found a fix, because NRPE sometimes has the vaguest error messages. Just for my notes, what did the old command definition for check_nrpe look like?

Thanks,
- Emmett
by ekapsner
Tue Apr 21, 2026 9:54 am
Forum: Open Source Nagios Projects
Topic: CHECK_NRPE: Receive header underflow - only -1 bytes received (4 expected
Replies: 4
Views: 4691

Re: CHECK_NRPE: Receive header underflow - only -1 bytes received (4 expected

Hello soigan23 , I often see this error when there is an SSL mismatch and the handshake is unable to be completed. If the daemon is expecting SSL to be used and the plugin is used with the --no-ssl or -n flag, then this error is often the result. What is the result of the following command (if run f...
by ekapsner
Thu Apr 16, 2026 10:46 am
Forum: Open Source Nagios Projects
Topic: NRPE is not connecting via Nagios site
Replies: 5
Views: 12530

Re: NRPE is not connecting via Nagios site

Hello dirhea , I was able to reproduce the error. The -c flag was likely swapped with -C , which is used to specify a client certificate. Double check your configs and make sure the check commands are defined like the following (with the lowercase c): define command { command_name check_nrpe command...
by ekapsner
Wed Apr 15, 2026 2:54 pm
Forum: Open Source Nagios Projects
Topic: NRPE is not connecting via Nagios site
Replies: 5
Views: 12530

Re: NRPE is not connecting via Nagios site

dirhea , The reason I ask is that the guide does not specify which compiler or SSL library to use, but since you are on Ubuntu, it's probably GCC and OpenSSL. Just to verify, will you run the following and let me know what it says. dpkg -l | grep libssl-dev dpkg -l | grep gcc Also, just to double c...
by ekapsner
Wed Apr 15, 2026 2:16 pm
Forum: Open Source Nagios Projects
Topic: NRPE is not connecting via Nagios site
Replies: 5
Views: 12530

Re: NRPE is not connecting via Nagios site

Hello @dirhea,

I am looking into reproducing this and I have a couple of questions.
- What compiler did you use?
- What SSL headers and libraries did you use?
- What distros are you using?

Thanks,
- Emmett
by ekapsner
Mon Apr 13, 2026 3:58 pm
Forum: Nagios XI
Topic: Network Status Map Empty after Upgrade to 2026R1.3
Replies: 8
Views: 6442

Re: Network Status Map Empty after Upgrade to 2026R1.3

Hello nhood , 1.3.1 was a quick hotfix to fix some upstream packaging issues and doesn't include the fix that I gave you. With how XI's upgrades work, the fix in the PHP file was likely overwritten. Reapplying it should resolve the issue once again. I'm sorry for any inconvenience and please let me ...
by ekapsner
Mon Apr 06, 2026 9:56 am
Forum: Nagios XI
Topic: NRPE Check Returning “Connection Refused” After Recent Server Update
Replies: 2
Views: 5313

Re: NRPE Check Returning “Connection Refused” After Recent Server Update

Hello, When troubleshooting NRPE, it is often helpful to edit the NRPE config file and change debug=0 to debug=1. After restarting NRPE, this will add more debugging information to the log files. Unless otherwise specified in nrpe.cfg, any logs will be written to syslog. What version of NRPE is on t...