<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Den 2014-02-21 8:18, Mate Nor skrev:</p>
<div style="color: #000; background-color: #fff; font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;">
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">Is there any way to integrate nmap or similar program into xymon web page.
<div style="color: #000000; font-size: 16px; font-family: 'Arial'; background-color: transparent; font-style: normal;">What I would like is to scan the network with nmap then write all the host into xymon for monitoring.(from xymon web page)</div>
<div style="color: #000000; font-size: 16px; font-family: 'Arial'; background-color: transparent; font-style: normal;">May to do a security check with nmap every day to see if someone taped into the network and make an alarm in xymon. </div>
<div style="color: #000000; font-size: 16px; font-family: 'Arial'; background-color: transparent; font-style: normal;"> </div>
<div style="color: #000000; font-size: 16px; font-family: 'Arial'; background-color: transparent; font-style: normal;">Thanks for all your help guys,</div>
<div style="color: #000000; font-size: 16px; font-family: 'Arial'; background-color: transparent; font-style: normal;"> </div>
</blockquote>
<div style="color: #000000; font-size: 16px; font-family: 'Arial'; background-color: transparent; font-style: normal;">Depending on the size of your network, I can see two ways of doing it:</div>
<div style="color: #000000; font-size: 16px; font-family: 'Arial'; background-color: transparent; font-style: normal;"> </div>
<div style="color: #000000; font-size: 16px; font-family: 'Arial'; background-color: transparent; font-style: normal;">1) 'nmap -sP' to sweep the network for IP's that respond. Write the output to a baseline file, and then re-run the scan regularly and compare against the baseline. Use the result in a custom test script and report the status to Xymon (see the Xymon help-pages for help on custom scripts).</div>
<div style="color: #000000; font-size: 16px; font-family: 'Arial'; background-color: transparent; font-style: normal;"> </div>
<div style="color: #000000; font-size: 16px; font-family: 'Arial'; background-color: transparent; font-style: normal;">2) If you have a small network - e.g. your network is a /24 so you can have at most 254 IP's - then you could put all of the IP's that must be inactive on a separate page in Xymon, and tag then with '!conn". Xymon will then try to ping them, and generate a red alert if they respond.</div>
<div style="color: #000000; font-size: 16px; font-family: 'Arial'; background-color: transparent; font-style: normal;"> </div>
<div style="color: #000000; font-size: 16px; font-family: 'Arial'; background-color: transparent; font-style: normal;"> </div>
<div style="color: #000000; font-size: 16px; font-family: 'Arial'; background-color: transparent; font-style: normal;">Regards,<br />Henrik</div>
<div style="color: #000000; font-size: 16px; font-family: 'Arial'; background-color: transparent; font-style: normal;"> </div>
</div>
<div> </div>
</body></html>