mass comment out lines?

Marc Powell marc at ena.com
Mon Jul 9 21:34:17 CEST 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Rogelio Bastardo
> Sent: Monday, July 09, 2007 2:05 PM
> To: Nagios Users mailinglist
> Subject: [Nagios-users] mass comment out lines?
> 
> Is there a way to mass comment out certain lines in your nagios.cfg
files?
> 
> e.g.
> 
> /*
> comments
> comments
> comments
> */

No.

http://nagios.sourceforge.net/docs/2_0/xodtemplate.html

"Notes

When creating and/or editing configuration files, keep the following in
mind:

   1. Lines that start with a '#' character are taken to be comments and
are not processed
   2. Directive names are case-sensitive"

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list