Snort mailing list archives

Re: Sensor Name


From: fred.hinchcliffe () us datex-ohmeda com
Date: Fri, 21 Feb 2003 13:02:34 -0600


Thank you this did the trick.

Fh


                                                                                                                  
                    Erick Mechler                                                                                 
                    <emechler@techo       To:     fred.hinchcliffe () us datex-ohmeda com                            
                    meter.net>            cc:     snort-users () lists sourceforge net                               
                                          Subject:     Re: [Snort-users] Sensor Name                              
                    02/21/2003                                                                                    
                    11:55 AM                                                                                      
                                                                                                                  
                                                                                                                  




:: How can you have the acid_main.php display the hostname of the sensor it
is
:: running on?

This should do what you want:

*** acid_main.php.orig  Fri Feb 21 09:52:05 2003
--- acid_main.php       Fri Feb 21 09:57:22 2003
***************
*** 116,121 ****
--- 116,122 ----

    if ( $event_cache_auto_update == 1 )  UpdateAlertCache($db);

+   printf("<B>ACID hostname:</B> %s<BR>", `/bin/hostname`);
    printf("<B>Queried on </B><FONT> : %s<BR>",date("D F d, Y H:i:s",time
()));
    printf("<B>Database:</B> %s &nbsp;&nbsp;&nbsp;(<B>schema version:</B>
%d) \n<BR>\n",
           ($alert_dbname.'@'.$alert_host. ($alert_port != "" ?
':'.$alert_port : "") ),





-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: