In package SatConfig-general-1.216.12-1 is now present new tool NOCpulse-ini. From its man page:

NAME
NOCpulse-ini - Show content of monitoring config file NOCpulse.ini and allow
       you to edit it.

SYNOPSIS
       NOCpulse-ini [OPTIONS]

DESCRIPTION
Monitoring main configuration file NOCpulse.ini is human readable, but should not be edited. This file is deleted and recreated during Monitoring start, therefore all changes in this file are lost. Values for this configuration file are stored in database and should be edited with script NOCpulse-ini.

WARNING: Changing of values is not recommended, as it can lead to non func-
       tional monitoring.

If you use --set-macro or --set-param, then both database and NOCpulse.ini are
       updated.

OPTIONS
       --all
               Dump out full content of NOCpulse.ini as seen by database.

       --group
Dump out content of NOCpulse.ini as seen by database. Dump only part
       which belongs to this group.
               May be specified multiple times.

       --raw
               Macros are not expanded.

       --macro
               Write value of given macro.

       --set-macro
               Change value of this macro.

       --set-param
               Change value of parameter.

       --new-value
               Set the new value for macro or parameter.

EXAMPLES
         NOCpulse-ini --all

         NOCpulse-ini --group=general --group=mail

         NOCpulse-ini --raw --group mail

         NOCpulse-ini --macro=NPVAR --raw

NOCpulse-ini --set-macro=SMONURL --new-value=’%{XPROTO}://different.url.com’

NOCpulse-ini --group queues --set-param=polling_interval --new-value=6

SEE ALSO
       NOCpulse.ini(8)

AUTHOR
       Miroslav Suchý <[email protected]>

COPYRIGHT AND LICENSE
Copyright (c) 2009 Red Hat, Inc. Released under GNU General Public License,
       version 2 (GPLv2).


--
Miroslav Suchy
Red Hat Satellite Engineering

_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to