Search found 14 matches
- Tue Oct 06, 2015 1:50 pm
- Forum: Open Source Nagios Projects
- Topic: New hosts
- Replies: 9
- Views: 2872
Re: New hosts
Hm thanks for trying that, I've just discovered that if you pipe into the nagios.cmd file, it will display the check: [1444156976] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;Sam-Test;testservice;1;output [1444156976] Warning: Passive check result was received for service 'testservice' on host 'S...
- Tue Oct 06, 2015 1:24 pm
- Forum: Open Source Nagios Projects
- Topic: New hosts
- Replies: 9
- Views: 2872
Re: New hosts
Yep you guessed it, we have a number of roles that are rather modular for our dev and customer servers, each also having certain contacts, and commands. We are currently transitioning from being really manual with our builds, to automating as much as possible to prevent user error and add consistenc...
- Tue Oct 06, 2015 12:55 pm
- Forum: Open Source Nagios Projects
- Topic: New hosts
- Replies: 9
- Views: 2872
Re: New hosts
Sorry, let me try with a bit more depth. It's not actually Nagios that will be processing this first check from a new host. I've written a script that runs via the crontab which keeps watch over the nagios.log. When the script detects the "Host not found" message, it checks to see if the h...
- Tue Oct 06, 2015 10:26 am
- Forum: Open Source Nagios Projects
- Topic: New hosts
- Replies: 9
- Views: 2872
Re: New hosts
Hi eloyd, Thanks for the response. I had thought this would be the case, however let me throw a spanner into the works here ;) I administer another Nagios instance for one of our sister companies, who also have an auto check in script (designed by a previous sysadmin before me). The example I provid...
- Tue Oct 06, 2015 6:44 am
- Forum: Open Source Nagios Projects
- Topic: New hosts
- Replies: 9
- Views: 2872
New hosts
Hi All, Quick question, I'm currently writing an auto check in script, and would like to use some of the passive results to check that the host is who they say they are. As I'm sure you know when a new check is sent to Nagios, but the host configuration doesn't exist yet you receive the following in...
- Tue Oct 06, 2015 6:39 am
- Forum: Open Source Nagios Projects
- Topic: Nagios 4.0.8 passive checks
- Replies: 9
- Views: 2239
Re: Nagios 4.0.8 passive checks
Hi All,
Just wanted to say thanks for your input, I've now managed to resolve this.
My NSCA daemon was throwing a wobbly and not processing commands correctly. After a reinstall commands started working as expected for passive checks.
Cheers,
Sam
Just wanted to say thanks for your input, I've now managed to resolve this.
My NSCA daemon was throwing a wobbly and not processing commands correctly. After a reinstall commands started working as expected for passive checks.
Cheers,
Sam
- Mon Sep 28, 2015 3:14 am
- Forum: Open Source Nagios Projects
- Topic: Nagios 4.0.8 passive checks
- Replies: 9
- Views: 2239
Re: Nagios 4.0.8 passive checks
HI Scott,
I can confirm, as per my original posting that this option is already enabled in the configuration:
[root@invnag nagios]# grep "check_service_freshness" nagios.cfg
check_service_freshness=1
I can confirm, as per my original posting that this option is already enabled in the configuration:
[root@invnag nagios]# grep "check_service_freshness" nagios.cfg
check_service_freshness=1
- Fri Sep 25, 2015 4:20 am
- Forum: Open Source Nagios Projects
- Topic: Nagios 4.0.8 passive checks
- Replies: 9
- Views: 2239
Re: Nagios 4.0.8 passive checks
Hi ssax,
The check_command is defined in the template, and I've actually tried defining it on the service also, but it still never gets called.
I have a feeling something else is in play here, because no matter how its configured the check_command is never called on a stale state.
The check_command is defined in the template, and I've actually tried defining it on the service also, but it still never gets called.
I have a feeling something else is in play here, because no matter how its configured the check_command is never called on a stale state.
- Thu Sep 24, 2015 3:34 am
- Forum: Open Source Nagios Projects
- Topic: Nagios 4.0.8 passive checks
- Replies: 9
- Views: 2239
Re: Nagios 4.0.8 passive checks
Hi Imiltchev, Thanks for your reply. I would actually like to use this as a template for other hosts rather than a regular service definition. The template in use was pulled from our previous nagios server (which I had no part in setting up), where the register statement is still present in the conf...
- Wed Sep 23, 2015 4:25 am
- Forum: Open Source Nagios Projects
- Topic: Nagios 4.0.8 passive checks
- Replies: 9
- Views: 2239
Nagios 4.0.8 passive checks
Hi Everybody, I have just recently set up a new Nagios system using 4.0.8 with passive service checking only. This is working as expected, passive alerts are being received etc, but I appear to be having a problem with stale results. I would like to set up the system so that when a check goes stale,...