How do I chnage zensyslog to use an alternate port in 2.x?
How can I clear out al lthe unnecesary records from the status
table (most likely from the database directly)? (Can I just delete
all the firewall related records. or will this cause records from
other tables to become disassociated?)
To change the port that zensyslog listens on in 2.x, you must edit
your $ZENHOME/bin/zensyslog startup script. Change the --port=514 to
your port. The reason for the difference between the versions is that
we're now using this zensocket to avoid needing sudo privileges for
the Zenoss daemons.
An example of how to clear out ALL zensyslog generated events from
the status table would be to do this from the MySQL prompt:
delete from status where agent = 'zensyslog';
delete from history where agent = 'zensyslog';
The reason to delete them from the history is that there is a trigger
on the status table that automatically moves deleted status events to
the history table. You can of course use a more specific SQL command
to limit the events to something more appropriate.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users