but how would one automate a data dump every N number of minutes? That would be required for an alerting script... I suppose the script could use the HTTP Perl module (or python, or whatever) to tell ntop to generate the dump... or is there a signal you can send to ntop to tell it to do a data dump? or some other method?
--- "Burton M. Strauss III" <[EMAIL PROTECTED]> wrote: > Look at the output from Data Dump - it's in various formats, friendly > to > various programming languages such as Python, Perl, etc. > > -----Burton > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of > Scott > Stone > Sent: Thursday, June 05, 2003 1:10 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: [Ntop] alerting with ntop > > > > I know several scripting languages well, and I too would like to > script > this, but my question is, how would the script read the data? I can > see using perl-http or whatever to just query the web interface, or > perl's gdbm to read the .db files, but i'm assuming, since i'm new to > ntop, that there's an easier way for a script to grab the data from > ntop to do the alerting? > > --- Ulrich_Stdrk <[EMAIL PROTECTED]> wrote: > > You should have a look at the advanced bash scripting guide at > > tldp.org > > (http://www.tldp.org/LDP/abs/html/index.html) > > > > Yours > > > > Uli > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > > > Behalf Of Jamie Roderick > > > Sent: Thursday, June 05, 2003 5:42 PM > > > To: [EMAIL PROTECTED] > > > Subject: RE: [Ntop] alerting with ntop > > > > > > > > > > > > sorry about the repost. how do you script it? not really a > > > linux god yet. > > > > > > > > > > > > > > > > > > "Burton M. > > > > > > > > > Strauss III" To: > > > <[EMAIL PROTECTED]> > > > > > > <[EMAIL PROTECTED] cc: > > > > > > > > > rt.com> Subject: RE: > > > [Ntop] alerting with ntop > > > > > > Sent by: > > > > > > > > > [EMAIL PROTECTED] > > > > > > > > > it > > > > > > > > > > > > > > > > > > > > > > > > > > > 06/05/2003 11:34 > > > > > > > > > AM > > > > > > > > > Please respond to > > > > > > > > > ntop > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > No. You'll have to script it. On the plus side, you can > > > make the alerts anything you want. > > > > > > -----Burton > > > > > > Note that this is pretty much the same answer as last time, > > > see http://article.gmane.org/gmane.linux.ntop.general/5745 > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > Behalf Of Jamie Roderick > > > Sent: Thursday, June 05, 2003 9:54 AM > > > To: [EMAIL PROTECTED] > > > Subject: [Ntop] alerting with ntop > > > > > > > > > is there a script for allowing ntop to alert you through mail > > > when a host is exceeding the threshold level for a specific > > protocol? > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > Ntop mailing list > > > [EMAIL PROTECTED] > > > http://listgateway.unipi.it/mailman/listinfo/ntop > > > > > > _______________________________________________ > > > Ntop mailing list > > > [EMAIL PROTECTED] > > > http://listgateway.unipi.it/mailman/listinfo/ntop > > > > > > > > > > > > > > > > > > _______________________________________________ > > > Ntop mailing list > > > [EMAIL PROTECTED] > > > http://listgateway.unipi.it/mailman/listinfo/ntop > > > > > > > _______________________________________________ > > Ntop mailing list > > [EMAIL PROTECTED] > > http://listgateway.unipi.it/mailman/listinfo/ntop > > > ===== > ------------------- > Scott M. Stone <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> > Taos - The SysAdmin Company (http://www.taos.com) > Cisco Certified Network Associate > Sun Solaris Certified Systems Administrator > _______________________________________________ > Ntop mailing list > [EMAIL PROTECTED] > http://listgateway.unipi.it/mailman/listinfo/ntop > > _______________________________________________ > Ntop mailing list > [EMAIL PROTECTED] > http://listgateway.unipi.it/mailman/listinfo/ntop ===== ------------------- Scott M. Stone <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Taos - The SysAdmin Company (http://www.taos.com) Cisco Certified Network Associate Sun Solaris Certified Systems Administrator _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
