Re: [Nagios-users] mass comment out lines?

2007-07-09 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] 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@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


[Nagios-users] mass comment out lines?

2007-07-09 Thread Rogelio Bastardo

Is there a way to mass comment out certain lines in your nagios.cfg files?
e.g.

/*
comments
comments
comments
*/
-
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@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