Search found 5052 matches

by Box293
Mon Mar 30, 2020 7:39 pm
Forum: Open Source Nagios Projects
Topic: Passive check, freshness at a custom date
Replies: 5
Views: 2018

Re: Passive check, freshness at a custom date

From what I understand, freshness checks do not adhere to timeperiods. It is simply checking the age of the last check result against the freshness threshold. There is a good explanation here in the documentation:

https://assets.nagios.com/downloads/nag ... hness.html
by Box293
Mon Mar 30, 2020 7:28 pm
Forum: Open Source Nagios Projects
Topic: Return code of 255 for service 'CPU Load' on hos
Replies: 18
Views: 19597

Re: Return code of 255 for service 'CPU Load' on hos

Please post your nagios configuration that shows your configurations for this service.
by Box293
Mon Mar 30, 2020 7:15 pm
Forum: Open Source Nagios Projects
Topic: Nagios Core Related Doubt
Replies: 1
Views: 972

Re: Nagios Core Related Doubt

Everything can be done with Nagios core. The main difference between Nagios Core and Nagios XI is that Nagios XI uses Nagios Core in the backend and has all the "pretty things" that are already configured ready to go. Nagios Core provides basic monitoring but it does take a little to get i...
by Box293
Mon Mar 30, 2020 7:11 pm
Forum: Open Source Nagios Projects
Topic: Error: Request packet had invalid CRC32.
Replies: 1
Views: 1390

Re: Error: Request packet had invalid CRC32.

Does the error get generated when you use -2 ?

Code: Select all

/usr/lib64/nagios/plugins/check_nrpe -2 -H core01-arendal.no.swordarmor.fr -c check_users
by Box293
Mon Mar 30, 2020 7:06 pm
Forum: Open Source Nagios Projects
Topic: Macros
Replies: 3
Views: 1905

Re: Macros

If this is check_snmp it does not currently have a multiplier argument (it is a feature request). Your solution is to write a wrapper script that performs this conversion for you.
by Box293
Mon Mar 30, 2020 5:51 pm
Forum: Open Source Nagios Projects
Topic: NRPE - Run VBScript with 32 bit wscript.exe
Replies: 1
Views: 1244

Re: NRPE - Run VBScript with 32 bit wscript.exe

Have a look at this KB article
https://support.nagios.com/kb/article/n ... t-528.html

It should help explain exactly how to configure it for executing scripts.
by Box293
Mon Mar 30, 2020 5:35 pm
Forum: Open Source Nagios Projects
Topic: check indoor climate with a sensor
Replies: 5
Views: 2238

Re: check indoor climate with a sensor

Most likely when you are executing from the command line you are doing this as the root user.

I suggest you sudo as the nagios user and then execute the command again and see what error it reports.
by Box293
Mon Mar 30, 2020 5:31 pm
Forum: Open Source Nagios Projects
Topic: Display alert in Nagios or Web application
Replies: 1
Views: 1036

Re: Display alert in Nagios or Web application

Nagios can do whatever you want it to do, all it does is execute a command and receive output back (exit code and text).

What you do with that received text is up to you. The text you receive back can have the info (user info, city, dates, mobile) displayed as part of it.
by Box293
Mon Mar 30, 2020 5:25 pm
Forum: Open Source Nagios Projects
Topic: NRPE deprecated in favour of NCPA
Replies: 1
Views: 3296

Re: NRPE deprecated in favour of NCPA

There does not seem to be a native way to do that right now. A suggestion is to write wrapper scripts that would execute the check for you. Basically emulate the functionality.
by Box293
Mon Mar 30, 2020 5:03 pm
Forum: Open Source Nagios Projects
Topic: How to monitor the directory in linux
Replies: 1
Views: 1206

Re: How to monitor the directory in linux

What is the output of these commands:

Code: Select all

du --max-depth=1 /usr/local/file|tail -1 |awk -v DIVISOR=$divisor '{print $1/DIVISOR}'

Code: Select all

which bc