I've not found this mentioned. (A nickel says that as soon as I hit
"Send" I'll find it.)
Can you define a timeperiod with two names?
(Nagios 2 & RHEL-4)
Example:
define timeperiod {
timeperiod_name 24x7,anytime
timeperiod_alias Whenever, it's important!
sunday 00:00-24:00
monday 00:00-24:00
tuesday 00:00-24:00
wednesday 00:00-24:00
thursday 00:00-24:00
friday 00:00-24:00
saturday 00:00-24:00
}
AFAIK no, but you can define two timeperiods the same such as
define timeperiod {
timeperiod_name 24x7
timeperiod_alias Whenever, it's important!
sunday 00:00-24:00
monday 00:00-24:00
tuesday 00:00-24:00
wednesday 00:00-24:00
thursday 00:00-24:00
friday 00:00-24:00
saturday 00:00-24:00
}
define timeperiod {
timeperiod_name anytime
timeperiod_alias Whenever, it's important!
sunday 00:00-24:00
monday 00:00-24:00
tuesday 00:00-24:00
wednesday 00:00-24:00
thursday 00:00-24:00
friday 00:00-24:00
saturday 00:00-24:00
}
Although what would this achieve? Why not just use the one?
Ben
"A Scientist will earn a living by taking a really difficult problem and spends many years solving it, an engineer earns a living by finding really difficult problems and side stepping them"
