Segmentation Fault when checking nagios cofiguration (nagios -v) after adding a new timeperiod holidays.
define timeperiod{
name holidays
timeperiod_name holidays
alias holidays
januari 1 00:00-24:00
}
After changing the line "januari 1 00:00-24:00" to
"sunday 00:00-24:00" , the Segmentation Fault is gone !
I propably do something wrong.
I got this on nagios 3.0.3 and on 3.4.1.
Segmentation Fault defining timeperiod holidays
Re: Segmentation Fault defining timeperiod holidays
I noticed that you mispelled January. Try spelling it with a 'y' to see if that helps.
Segmentation faults mean a program tried to access memory illegally, and always indicates a bug. Even if you as the user do something wrong, segmentation faults shouldn't happen. So I've filed a bug report for you here, which will hopefully lead to the issue getting fixed.
Segmentation faults mean a program tried to access memory illegally, and always indicates a bug. Even if you as the user do something wrong, segmentation faults shouldn't happen. So I've filed a bug report for you here, which will hopefully lead to the issue getting fixed.
Re: Segmentation Fault defining timeperiod holidays
Can i change the bug report ?
OS : Solaris
Version : 10 : uname -a gives SunOS clarus 5.10 Generic_144488-08 sun4v sparc sun4v
OS : Solaris
Version : 10 : uname -a gives SunOS clarus 5.10 Generic_144488-08 sun4v sparc sun4v
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Segmentation Fault defining timeperiod holidays
Can you reply with your "Issue #" Then it can be edited.
Re: Segmentation Fault defining timeperiod holidays
By changing changing januari to january , i get rid of the segmentation fault.
Tankx
Tankx
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Segmentation Fault defining timeperiod holidays
Glad you were able to find the problem, and thank you for posting your solution.