hello
I am checking the specific port 19523 on a red hat Linux server and I am not getting a notification when the port is down by stopping a service
I think the argument is wrong
I am sending the config file and screenshot by attachment
[/###############################################################################
#
# Service configuration file
#
# Created by: Nagios Core Config Manager 2.6.9
# Date: 2017-10-18 11:09:07
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################
define service {
host_name dev-smarts-01.exp001.exponential-e.net.
service_description dev-te-01
use xiwizard_udp_service
check_command check_udp!-p 19523 !!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 10
notification_period xi_timeperiod_24x7
contacts nagiosadmin
_xiwizard tcpudpport
register 1
}
###############################################################################
#
# Service configuration file
#
# END OF FILE
#
code]
You do not have the required permissions to view the files attached to this post.
/usr/local/nagios/libexec/check_tcp -H 192.168.4.125 -p 5666
TCP OK - 0.000 second response time on 192.168.4.125 port 5666|time=0.000410s;;;0.000000;10.000000
This worked from the command line
/usr/local/nagios/libexec/check_tcp -H 10.241.11.203 -p 19523
TCP OK - 0.000 second response time on 10.241.11.203 port 19523|time=0.000112s;;;0.000000;10.000000
how does this configured as an alert on Nagios XI windows GUI
please tell me how
Starting Nmap 6.40 ( http://nmap.org ) at 2017-10-20 09:43 BST
Nmap scan report for dev-smarts-01.exp001.exponential-e.net (10.241.11.203)
Host is up (0.00016s latency).
PORT STATE SERVICE
19523/udp closed unknown
MAC Address: 00:50:56:01:03:24 (VMware)
Nmap done: 1 IP address (1 host up) scanned in 0.07 seconds