-----Original Message-----
> From: Irish, Jon D MEVATEC
> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 10, 2002 11:49 AM
> To: 'Gilbert, Austin'
> Subject: RE: how to tell if nessus-update-plugins has worked
> Gilbert,
> I am new to Nessus, and Linux in general. I think that this >
utility would be
> usefull for me. How do I install and use it? Remember, I'm a >
Newbie, and
> simple instructions would be gratly appreciated ;-)
> Jon
======================================================
*Irish*,
I would be more than happy to help with instructions.
1. You should already have Nessus installed and operational. See the
Nessus Docs on how to do this. For this you must have root access to
your linux box. You must also have perl on the machine, and the perl
Modules Mail::Sendmail and Time::Local.
2. Download the attachment: "nessus-plugin-logger.pl" or Copy the
source from the second email I sent out.
3. Copy the source into a file named "nessus-plugin-logger.pl".
Chmod the file so that it has executable rights. Place it in the
/usr/local/bin directory.
4. "vi nessus-plugin-logger.pl" (see vi man page for how to edit
files) Edit the $globdir, $logfile, and $errorlogfile variables to
match your Nessus installation... the current values should work for
the defaults.
5. While still editing change the "$contacts" variable to your email
address.
Change the "$reply_to" variable to your email address.
Change "$smtp_server" to the SMTP server that you send mail with.
Change the "$from" variable to something that you will recognize
as your Nessus Daemon sending you the notification.
6. Leave the "$notify_updates" variable set to true if you want to be
emailed the information on the plugins that were updated, set it to
'false' if you only want to cut a log to the "$logfile".
7. Stop editing the file, save your changes. try running the script.
If it works your in business.
8. Add a cron job to run the script as often as you deem necessary.
We run it every 4 hours. There are advantages and disadvantages to
this. (see the cron man pages for how to do this)
You might also check out another script that I had posted a while
back: http://msgs.securepoint.com/nessus/ search for "Austin
Gilbert" read the post on "Monitoring who does scans on your Nessus
Scanner", it should be near the top of the list.
IMPORTANT NOTICE:
This message is intended only for the use of the individual or entity
to which it is addressed and may contain information that is
privileged, confidential and exempt from disclosure under applicable
law. If you have received this message in error, you are hereby
notified that we do not consent to any reading, dissemination,
distribution or copying of this message. If you have received this
communication in error, please notify the sender immediately and
destroy the transmitted information.