NagMIN Question

Skip Montanaro skip at pobox.com
Thu Oct 16 03:14:45 CEST 2003


    Stanley> I do see where I can add an Event Handler in a Service
    Stanley> Template, but that would mean I'd have to create a new Template
    Stanley> for each service that would require a unique Event.  Thanks for
    Stanley> the suggestions.

I've taken to dumping the database (including DROP statements) to an SQL
file using the Backup button, editing the SQL directly (deleting rows,
changing names, adding INSERT statements, etc), then loading the SQL using
the mysql command.  This gives me complete freedom.  I've made global
deletes and changes with Emacs and written scripts in Python to generate
large numbers of INSERTs from content in a CSV file.

If you need to make a lot of changes, this is a much less labor-intensive
way to go about it, in my opinion.  The only thing missing is a "lock"
button to prevent others from messing with the database while I'm tweaking
the raw SQL.

-- 
Skip Montanaro
Got gigs? http://www.musi-cal.com/
          http://www.mojam.com/
Got spam? http://spambayes.sf.net/


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
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