If you’re still reading this subject, I just did a quick test, as I noticed I don’t have a ‘name’ directive in any timeperiod def (on my nagios 3.0.3).
Instead, I have the “alias” directive … And I just found out that you need have one of those (either name or alias), otherwise, you get this error:
Error: Name or alias for timeperiod is NULL
and, as you can see at:
nagios.sourceforge.net/docs/2_0/ … timeperiod
the “alias” directive is in red, which means that it is required
As a conclusion: forget about the ‘name’ directive and use the ‘alias’ directive, which is defined as:
“alias: This directive is a longer name or description used to identify the time period”