Search found 25 matches
- Mon Oct 22, 2018 1:18 pm
- Forum: Nagios XI
- Topic: Parent and child
- Replies: 1
- Views: 410
Parent and child
Hi, We have parent and child relationship servers and the same we have implemented in nagios and we have tested the hosts down alert in nagios where nagios is giving host unreachable alert when child is in down state but for the services are triggering alert, so please help out in this how we can su...
- Wed Oct 17, 2018 2:54 am
- Forum: Nagios XI
- Topic: UDP port for monitor
- Replies: 26
- Views: 5515
Re: UDP port for monitor
I am glad your issue has been resolved, but wonder - why did you have this: $USER1$=LC_ALL=C /usr/local/nagios/libexec You should've had this: $USER1$=/usr/local/nagios/libexec Let us know if it is OK to lock this topic. Thank you! Hi lmiltchev, Actually i don't know what for $USER1$=LC_ALL=C /usr/...
- Mon Oct 15, 2018 9:38 am
- Forum: Nagios XI
- Topic: UDP port for monitor
- Replies: 26
- Views: 5515
Re: UDP port for monitor
Try this, edit the /etc/sudoers file and add the following entries nagios ALL=NOPASSWD: /usr/local/nagios/libexec/check_udp_port nagios ALL=NOPASSWD: /usr/bin/nmap Save the file and edit the check_udp_port script and change this line from result=`/usr/bin/nmap -sU -p $port -P0 $host` to result=`sud...
- Fri Oct 12, 2018 5:57 am
- Forum: Nagios XI
- Topic: UDP port for monitor
- Replies: 26
- Views: 5515
Re: UDP port for monitor
We've tested this with the same setup you have without error so the | isn't the problem, Lets go back to just the attached file for the plugin check_udp_port.txt then run the following and return the results su nagios -c '/usr/local/nagios/libexec/check_udp_port -H xxxxxxxx -p 1162 -s "health-...
- Fri Oct 05, 2018 1:16 pm
- Forum: Nagios XI
- Topic: UDP port for monitor
- Replies: 26
- Views: 5515
Re: UDP port for monitor
Put back all of the "echo" lines in the plugin (as before) for debugging purposes. Also, change back your command to: define command { command_name check_udp_port command_line sudo $USER1$/check_udp_port -H $HOSTADDRESS$ -p $ARG1$ -s $ARG2$ 2>&1 } Upload the modified plugin on the for...
- Thu Oct 04, 2018 10:55 am
- Forum: Nagios XI
- Topic: UDP port for monitor
- Replies: 26
- Views: 5515
Re: UDP port for monitor
We believe that the check fails, because of the "pipe" in the output: 1162/udp open | filtered health-trap Try modifying the plugin one more time by replacing this: result=`/usr/bin/nmap -sU -p $port -P0 $host` with this: result=`/usr/bin/nmap -sU -p $port -P0 $host | sed 's/|/ /g'` to se...
- Tue Oct 02, 2018 11:52 am
- Forum: Nagios XI
- Topic: UDP port for monitor
- Replies: 26
- Views: 5515
Re: UDP port for monitor
Let's try sending the error to the standard output in the GUI. Temporarily change your command from this: define command { command_name check_udp_port command_line sudo $USER1$/check_udp_port -H $HOSTADDRESS$ -p $ARG1$ -s $ARG2$ } to this: define command { command_name check_udp_port command_line s...
- Mon Oct 01, 2018 4:36 am
- Forum: Nagios XI
- Topic: UDP port for monitor
- Replies: 26
- Views: 5515
Re: UDP port for monitor
Run the following commands from the command line and show the output: ps -ef | head -1 && ps -ef | grep bin/nagios /usr/local/nagiosxi/scripts/reconfigure_nagios.sh Next, go to Home > Details > Service Status > UPD Port 1162, click on Force an immediate check link under the Quick Actions se...
- Fri Sep 28, 2018 1:18 pm
- Forum: Nagios XI
- Topic: UDP port for monitor
- Replies: 26
- Views: 5515
Re: UDP port for monitor
Have you applied configuration after making the changes to your configs, e.g. adding sudo to the "check_udp_port" command? Try going to the CCM > Tools > Config File Management > Delete Files > Write Configs > Verify Files > Apply Configuration (in this exact order). Another reason for th...
- Thu Sep 27, 2018 1:14 pm
- Forum: Nagios XI
- Topic: UDP port for monitor
- Replies: 26
- Views: 5515
Re: UDP port for monitor
Still am facing same issue, backend CCM UDP Port service is working but in frontend GUI still its showing CRITICALlmiltchev wrote:It seems like now you can run the plugin as nagios user, so the check should also work for you in the GUI. Let us know if your issue has been resolved.
PFA SS