Scan service every second in nagios

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
miguel20dh
Posts: 1
Joined: Thu Apr 09, 2015 6:28 am

Scan service every second in nagios

Post by miguel20dh »

good afternoon.

I want to know as I scan a service every second. I only see at least every minute. Is there any way?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Scan service every second in nagios

Post by tmcdonald »

This can technically be done but it is absolutely in no way recommended and is not something we will suggest. It cannot be done on a per-service basis - it would affect all host and service checks or none at all. Making this change will essentially multiply every check you have running by 60x its normal interval and will almost certainly thrash a system of any decent size. You would need to multiply the check_intervals and other time-based settings by 60 in order to get them back to normal values since you are now working with seconds instead of minutes.
Former Nagios employee
Locked