Page 1 of 1

[Nagios-devel] semicolons as comments?

Posted: Thu Apr 25, 2002 1:56 pm
by Guest
Hello all,

What is the official status of using semicolons as comments within block
definitions (as per the example template configuration files)? All of
the documentation seems to say that hash-comments are the only valid
comments... But nagios understands the files with semicolons anyway.

# here is an example of a definition block using semicolon comments
define host {
use generic-host ;Name of host
template to use
;questionable comment
host_name localhost
alias localhost
address 127.0.0.1
}

regards
Chris

--
Chris Meador
dotLogix, Inc.
(901) 260-7148
(901) 634-3430 cell






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: cmeador@dotlogix.com