Hi all, I'm evaluating Nagios XI!
I'm interested in the lowest interval_length... I set the interval_length in nagios.cfg = 1... is there a way to lower it?
Which is the lowest interval between checks? 1 second?
and
Is there a log file from which I may read
[Time] Nagios made check XY on host XY
[Time] Nagios made check ZY on host YX
and so on?
Interval Length & logs
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Interval Length & logs
You could enable freshness checking on the services, but this is NOT recommend for active checks, or in great amounts. You never want your checks that low if they as that will increase system load by quite a lot, and cause processing issues. You can view nagios's log at:
/usr/local/nagios/var/nagios.log
/usr/local/nagios/var/nagios.log
Re: Interval Length & logs
it is precisely my goal!
I want to test Nagios' performance (cpu/memory/bandwidth load) with a lot of services*hosts and a check period of a second or less
so it isn't possible to lower that value... mmm...
and regarding logs in nagios.log there isn't a log line for every check... how can i obtain that? or is there a way to read these informations without stressing the disk i/o?
I want to test Nagios' performance (cpu/memory/bandwidth load) with a lot of services*hosts and a check period of a second or less
so it isn't possible to lower that value... mmm...
and regarding logs in nagios.log there isn't a log line for every check... how can i obtain that? or is there a way to read these informations without stressing the disk i/o?
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Interval Length & logs
As I was saying, you could use freshness checking:
http://nagios.sourceforge.net/docs/3_0/freshness.html
You would use the freshness interval to define a check in seconds.
Yes, the nagios log should generally have all the check information, though some protocols have their own logs, the information should still pass through the nagios.log. What do you mean access without stressing I/O?? It is not very stressful to my knowledge.
http://nagios.sourceforge.net/docs/3_0/freshness.html
You would use the freshness interval to define a check in seconds.
Yes, the nagios log should generally have all the check information, though some protocols have their own logs, the information should still pass through the nagios.log. What do you mean access without stressing I/O?? It is not very stressful to my knowledge.
Re: Interval Length & logs
at the moment i observe 1 host with 5 services every second... in the nagios.log i only see 5 checks... the others? i expect to see a line per second... am I wrong?
Re: Interval Length & logs
This setting should set your interval length to one second.TheSgrash wrote: interval_length in nagios.cfg = 1
Are these active checks or passive checks?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Interval Length & logs
When are the next scheduled checks for said services?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Interval Length & logs
the web interface says in 5 seconds and, if I wait, it do it
but I can only suppose it because there isn't a trace in the logs
but I can only suppose it because there isn't a trace in the logs
Re: Interval Length & logs
maybe this can help:
these are last entries from my nagios.log:
these are last entries from my nagios.log:
Code: Select all
[1372761253] Auto-save of retention data completed successfully.
[1372763053] Auto-save of retention data completed successfully.
[1372764853] Auto-save of retention data completed successfully.
[1372766653] Auto-save of retention data completed successfully.
[1372768453] Auto-save of retention data completed successfully.
[1372770253] Auto-save of retention data completed successfully.
[1372772053] Auto-save of retention data completed successfully.
[1372773853] Auto-save of retention data completed successfully.
[1372775653] Auto-save of retention data completed successfully.
[1372777453] Auto-save of retention data completed successfully.