On 01.05.2013 16:32, Dmitry Korzhevin wrote: > Hi, > > Please advice, which is best way to check remote linux system port > status? > > I have icinga 1.8.4 and i need to check 2 ports (ipsec, udp) on remote > linux server: > > 500 (udp/isakmp) and 4500 (udp/ipsec-nat-t). > > Now i can check them with netcat: > > nc -vzu hostname 500 > Connection to hostname 500 port [udp/ipsec-nat-t] succeeded! > > > How can i make similar check from icinga?
You may have a look at check_udp (or tcp if you got that requirement as well). The plugin further requires options to put a string and expect one. More on that either via -h param, or at http://nagiosplugins.org/man/check_udp Since the Nagiosplugins are a prerequisite when installing Icinga, you'll likely find those either in libexec/ in your installed prefix, or package wise, /usr/{lib,lib64}/nagios/plugins/. If all fails, $USER1$ macro in resource.cfg should contain the path to your plugins, if that was set correctly during install. kind regards, Michael > > > > Best Regards, > Dmitry > > --- > Dmitry KORZHEVIN > System Administrator > STIDIA S.A. - Luxembourg > > e: dmitry.korzhe...@stidia.com > m: +38 093 874 5453 > w: http://www.stidia.com > > > > ------------------------------------------------------------------------------ > Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET > Get 100% visibility into your production application - at no cost. > Code-level diagnostics for performance bottlenecks with<2% overhead > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap1 > > > _______________________________________________ > icinga-users mailing list > icinga-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/icinga-users -- DI (FH) Michael Friedrich mail: michael.friedr...@gmail.com twitter: https://twitter.com/dnsmichi jabber: dnsmi...@jabber.ccc.de irc: irc.freenode.net/icinga dnsmichi icinga open source monitoring position: lead core developer url: https://www.icinga.org ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ icinga-users mailing list icinga-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/icinga-users