Re: [sentinix-list] nmap2nagios

Logarno <adesmons-7Aj/b8uzpy6AmYF/[email protected]>
Newsgroups gmane.linux.sentinix
Message-ID <[email protected]>
Marlon.Richards-5I9FqcT3+DFWk0Htik3J/[email protected] writes:

> 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.

try this instaed :
perl nmap2nagios.pl -v -r nmap.xml -o new.cf
or verify that nmap2nagios.pl is executable for you, so move to its directory
and type :
chmod 700 nmap2nagios.pl
and run it like this :
./nmap2nagios.pl -v -r nmap.xml -o new.cf
note the ./ at the begining, that's because the directory where
nmap2nagios.pl is located isn't in your PATH environnement variable.

-- 
Arnaud
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.