am I doing this incorrectly? :
i want monitoring to run from 1am to 11am and then from 1200 noon till 11pm
am I doing this incorrectly? :
define timeperiod {
timeperiod_name fenway-cx-380 SPB
alias Epic Backup Testing
thursday 01:00-11:00,12:00-23:00
wednesday 01:00-11:00,12:00-23:00
friday 01:00-11:00,12:00-23:00
saturday 01:00-11:00,12:00-23:00
sunday 01:00-11:00,12:00-23:00
monday 01:00-11:00,12:00-23:00
tuesday 01:00-11:00,12:00-23:00
}
question about time periods
question about time periods
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: question about time periods
Nope, do it like this
Code: Select all
define timeperiod {
timeperiod_name fenway-cx-380 SPB
alias Epic Backup Testing
thursday 01:00-11:00
thursday 12:00-23:00
wednesday 01:00-11:00
wednesday 12:00-23:00
friday 01:00-11:00
friday 12:00-23:00
saturday 01:00-11:00
saturday 12:00-23:00
sunday 01:00-11:00
sunday 12:00-23:00
monday 01:00-11:00
monday 12:00-23:00
tuesday 01:00-11:00
tuesday 12:00-23:00
}Re: question about time periods
my next son\daughter will be named scottwilkerson...( ok jk but it's the thought that counts)
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: question about time periods
do I have to do that manually on the cfg file? nagios wont let me inset the same day twice in the timperiod cfg manager
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: question about time periods
By golly you are right.
You have 2 choices. First would be to add it to a file in
/usr/local/nagios/etc/static
Or, you could install the New CCM Beta which allows multiple entries.
It is available in this post
http://support.nagios.com/forum/viewtop ... 253#p24253
You have 2 choices. First would be to add it to a file in
/usr/local/nagios/etc/static
Or, you could install the New CCM Beta which allows multiple entries.
It is available in this post
http://support.nagios.com/forum/viewtop ... 253#p24253
Re: question about time periods
I am going to install the new ccm on my test server (put a beta on production = financial hardship). so your saying to create TWO cfg files or one cfg file and then import it.
Does this mean that nagios can process a file configured the way you said to do it, but the cfg wiz just wont let you do it?
Does this mean that nagios can process a file configured the way you said to do it, but the cfg wiz just wont let you do it?
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: question about time periods
Actually, forget what I said about puting it in the static directory, not the right idea for this. Best to create 1 config and import it.benhank wrote:so your saying to create TWO cfg files or one cfg file and then import it.
I just have to say that you may run into issues editing it with the current CCM.
Just one config file, and if you place it in the static directory you
Current CCM just doesn't let you do it, but nagios will.benhank wrote:Does this mean that nagios can process a file configured the way you said to do it, but the cfg wiz just wont let you do it?
Re: question about time periods
thanks scott
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion