Page 1 of 1

Re: Nagios nmap2nagios plugin does not show my services

Posted: Fri May 17, 2013 2:48 pm
by sreinhardt
Most likely they are not showing in the web interface, as that is not a valid nagios config. It does appear that the plugin can regenerate a new configuration based on its configuration, however I do not know how well that will work by manually adding them. Also if the other servers are restricted from the nagios server accessing those ports, nmap would have no way to verify they are open. Most nmap based checks will only look for ports and whether it is responding, not for actual data. Could you provide an example of what you have been running with this plugin?

Re: Nagios nmap2nagios plugin does not show my services

Posted: Mon May 20, 2013 10:37 am
by abrist
Do you have that example available?

Re: Nagios nmap2nagios plugin does not show my services

Posted: Tue May 21, 2013 1:01 pm
by slansing
If you were to choose one of the hosts that the script ran an nmap to which is only returning SSH and PING checks, and run a NMAP to it yourself what ports show up as discovered?

Re: Nagios nmap2nagios plugin does not show my services

Posted: Tue May 21, 2013 1:03 pm
by abrist
Interesting. If you add the files and then run a verification, do you receive warnings? If so, what are the warnings?

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Re: Nagios nmap2nagios plugin does not show my services

Posted: Wed May 22, 2013 12:22 pm
by slansing
I do not believe this plugin would set up something as advanced as process or hardware metric monitoring, neither does our built in Auto Discovery in Nagios XI. This is something left to wizards, or other forms of check protocols. NMAP itself has no way of doing these sorts of things. It does not matter if the plugins are available in the libexec folder, they are not being used, the purpose of what you have configured right now is to use NMAP to scan your network and return what nmap can touch, that would be IP's and ports under those IP's.. it will then take the ports it can find, and title services based on protocols the ports use, such as 5666 for NRPE, etc.