Re: [sentinix-list] nmap2nagios

Marlon.Richards-5I9FqcT3+DFWk0Htik3J/[email protected]
Newsgroups gmane.linux.sentinix
Message-ID <OFB0D0F0C1.7F11C758-ON05256DFE.007540DD-05256DFE.007582B9@windalco.com>




I read the README file and rad the perldoc on the perl file
(nmap2nagios.pl) to see the other instructions. Forgive me as i am neither
a programmer or a professional linux/Unix user. I am not sure how to run
the script. I generated the XML file ok but when i tried the second command
(nmap2nagios.pl -v -r nmap.xml -o new.cf) i get that bash: nmap2nagios.pl :
command not found.

I may just end up going the manual root. You care correct in that i can
more tailor Nagios to what i want it to monitor. Thanks for the advice.




====================================
Marlon Richards
Communications Engineer
West Indies Alumina Company
Kirkvine Works
Jamaica
Tel#:    876-961-7434
Fax#:   876-961-7464
Email:  marlon.richards-Rzeo2xivIqhWk0Htik3J/[email protected]



                                                                           
             "Travis Albrecht"                                             
             <[email protected]                                             
             electric.com>                                              To 
             Sent by:                  "The SENTINIX Mailing List"         
             sentinix-bounces@         <[email protected]>       
             elevenprospect.co                                          cc 
             m                                                             
                                                                   Subject 
                                       [sentinix-list] nmap2nagios         
             12/16/2003 02:36                                              
             PM                                                            
                                                                           
                                                                           
             Please respond to                                             
               The SENTINIX                                                
               Mailing List                                                
             <[email protected]                                             
               rospect.com>                                                
                                                                           
                                                                           




It is available from the nagios contributed add-ons download area

http://www.nagios.org/download/extras.php

"nmap2nagios 0.1.2 11/15/2002 nmap2nagios-0.1.2.tar.gz (12K) nmap2nagios is
a
script for generating template-based object configuration files (containing
defintions for hosts, services, etc.) from Nmap XML output. It is also
possible to generate the older "default" object configuration files by
using
the nmap2netsaint.conf file."

Documentation on how to use it should be included in the download.  I've
never used it, but it reads to me that you 1) alter the config file 2) run
the script once 3) the script generates your nagios config files for you 4)
copy the config files to your nagios dir

Personally I would spend the time to identify the servers and services you
want to watch, and how aggressively you want them watched. Then config
nagios
yourself, just because a port is open I wouldn't necessarily want to
monitor
it.

HTH

Travis Albrecht

-----Original Message-----
From: Marlon.Richards-5I9FqcT3+DFWk0Htik3J/[email protected] [mailto:[email protected]]
Sent: Tuesday, December 16, 2003 1:21 PM
To: The SENTINIX Mailing List
Subject: Re: Re: [sentinix-list] Next Release






How do i install this on Nagios? I cant seem to find the instruction on the
Nagios website and i have yet to recieve a response for the Nagios mailing
list!





====================================
Marlon Richards
Communications Engineer
West Indies Alumina Company
Kirkvine Works
Jamaica
Tel#:    876-961-7434
Fax#:   876-961-7464
Email:  marlon.richards-Rzeo2xivIqhWk0Htik3J/[email protected]




             Michel Blomgren
             <[email protected]
             org>                                                       To
             Sent by:                  The SENTINIX Mailing List
             sentinix-bounces@         <[email protected]>
             elevenprospect.co                                          cc
             m
                                                                   Subject
                                       Re: Re: [sentinix-list] Next
             12/09/2003 04:25          Release
             PM


             Please respond to
               The SENTINIX
               Mailing List
             <[email protected]
               rospect.com>






On Tuesday 09 December 2003 22:00, Marlon.Richards-5I9FqcT3+DFWk0Htik3J/[email protected] wrote:
> Having seen what this version can do, i am looking forward to the next
> release. I like the idea of the honey-pot inclusion along with webmin.
Just
> a few questions for the future.
> Will Nagios be able to go out and map the network or will we still have
to
> manually configure it with the parent structure?

There is nmap2nagios available from
http://nagios.sourceforge.net/download/contrib/addons/nmap2nagios-0.1.2.tar.g

z

...it'll portscan your network using Nmap and generate the Nagios
templates.
If it's possible to integrate into the sentinix design, it'll probably be
added.

> Can any off the
> applications create a graph showing a break down of the protocols
> discovered on the wire (i.e. percentage ftp, http, SMTP, etc)?

BandwidthD does that, it has been added for the next release.

> Email
> notifications would be a nice additive as well.

Notifications if there is, e.g., too much FTP traffic or??

             Michel


> Best regards guys.
>
>
>
>
>
> ====================================
> Marlon Richards
> Communications Engineer
> West Indies Alumina Company
> Kirkvine Works
> Jamaica
> Tel#:    876-961-7434
> Fax#:   876-961-7464
> Email:  marlon.richards-Rzeo2xivIqhWk0Htik3J/[email protected]
>
>
>
>
>              Michel Blomgren
>              <[email protected]
>              org>
To
>              Sent by:                  The SENTINIX Mailing List
>              sentinix-bounces@         <[email protected]>
>              elevenprospect.co
cc
>              m
>
Subject
>                                        Re: Re: [sentinix-list] Next
>              12/09/2003 03:44          Release
>              PM
>
>
>              Please respond to
>                The SENTINIX
>                Mailing List
>              <[email protected]
>                rospect.com>
>
> On Tuesday 09 December 2003 20:30, [email protected] wrote:
> > > From: Alex Cruz <[email protected]>
> > > Date: 2003/12/09 Tue PM 02:17:49 EST
> > > To: The SENTINIX Mailing List <[email protected]>
> > > Subject: Re: [sentinix-list] Next Release
> > >
> > > On Tuesday 09 December 2003 01:06 pm, [email protected] wrote:
> > > > I have been messing with Michel about that.  All in fun of course.
:)
> > > >
> > > > He is still working on the packaging system which he plans on
having
>
> in
>
> > > > the next release.  So the best we will probably get is soon? :)
>
> Soon! ;)
>
> > >  Ahh, so THAT'S what he is working on, eh? ;-) I suppose the real
> > > question then is: how difficult is it to upgrade Cacti on the latest
> > > Sentinix release? I haven't has a chance to look at the code for the
>
> web
>
> > > pages to see if I can just do the upgrade myself to Cacti. I like the
> > > integrated navigation and would hate to lose it.
>
> $ sxpkg -I cacti
>
> That _should_ be all there is to it, but it will probably overwrite your
> current Cacti MySQL database, unless you back it up first.
> It will auto-download it from an "sxpkg" FTP site (just an ftp:// url to
a
> directory on an anonymous FTP) and compile+install it.
>
> Or, you can also do:
>
> $ sxpkg -d cacti
>
> ...and the little proggy will simply download the tarball of the latest
> version of the package to the current directory.
>
> >   Yeah, I have been harassing him alot lately as I did the backup and
> > restore scripts over the weekend.
> >
> :)
> :
> >  As for updating Cacti, you could
> > probably do it yourself.  He is really doing nothing more than pointing
>
> to
>
> > Cacti with the main page.  I have updated the install of Nagios with a
> > current cvs snapshot and it worked fine after I made changes to the
>
> config
>
> > files that were necessary due to changes in Nagios.
>
> There you go!  :)
>
>              Michel
> _______________________________________________
> SENTINIX mailing list
> [email protected]
> http://elevenprospect.com/mailman/listinfo/sentinix
>
>
> _______________________________________________
> SENTINIX mailing list
> [email protected]
> http://elevenprospect.com/mailman/listinfo/sentinix
_______________________________________________
SENTINIX mailing list
[email protected]
http://elevenprospect.com/mailman/listinfo/sentinix


_______________________________________________
SENTINIX mailing list
[email protected]
http://elevenprospect.com/mailman/listinfo/sentinix
_______________________________________________
SENTINIX mailing list
[email protected]
http://elevenprospect.com/mailman/listinfo/sentinix
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.