[go: up one dir, main page]

Menu

#27 Timeperiods Write to Disk limited in field length?

3.5.0
closed
nobody
None
2025-04-28
2024-11-29
Feathers164
No

I'm unable to write to disk certain timeperiods - even though the syntax is correct for Nagios.

For example, I can write to disk;

define timeperiod {
timeperiod_name DST-AET-excl
alias DST-AET-excl
register 1
sunday 1 april - sunday 1 may 20:00-21:00
}

However, it will not write to disk, if the field period is longer;

define timeperiod {
timeperiod_name DST-AET-excl
alias DST-AET-excl
register 1
sunday 1 april - sunday 1 august 20:00-21:00
}

Discussion

  • Feathers164

    Feathers164 - 2024-11-29

    As a work around I increased the fill length from 30 to 40 in functions/NagConfigClass.php to get around this issue.

     
  • Martin

    Martin - 2025-04-20

    Thank you - the database fild size is 255, so it's ok - I will fix the $strFillLen in tbl_timeperiod

     
  • Martin

    Martin - 2025-04-28
    • status: open --> closed
     

Log in to post a comment.