Hi all,
Sorry, my english is very poor.
I have a nagios core server 4.0.8 version. Sometime, some service notified UNKNOWN status (1.png), but then it's back to normal status (2.png).
Please advise and help me handle this problem.
Thanks all.
Notice Unknown on nagios !
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Notice Unknown on nagios !
Most likely the plugin you are using is timing out and hence generating a unknown status.
Increase the timeout of the plugin in your command or service definition.
If you need help with this, you'll need to post your host, service and command definitions.
Increase the timeout of the plugin in your command or service definition.
If you need help with this, you'll need to post your host, service and command definitions.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Notice Unknown on nagios !
Thanks for your replying. My hosts, services and command.
My host:
###############################################################################
#
# Host configuration file
#
# Created by: Nagios QL Version 3.2.0
# Date: 2017-01-02 13:18:56
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################
define host {
host_name _UDP-C
alias 4F UDP-C
address 172.16.x.x
use xxx-server
contacts nagiosadmin
register 1
}
###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################
My service:
###############################################################################
#
# Service configuration file
#
# Created by: Nagios QL Version 3.2.0
# Date: 2017-01-02 13:18:57
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################
define service {
#NAGIOSQL_CONFIG_NAME imp_n6t4-UDPC
host_name _UDP-A
service_description Current UDP C
display_name Current UDP C
use generic-env832-device
check_command check_current_pmm_udp!21!0!1100
passive_checks_enabled 1
register 1
}
###############################################################################
#
# Service configuration file
#
# END OF FILE
#
###############################################################################
My Command:
define command {
command_name check_current_pmm_udp
command_line $USER1$/check_current_pmm.py -H $HOSTADDRESS$ -a $ARG1$ -c1 $ARG2$ -c2 $ARG3$
register 1
}
I attach my picture new.
Please help me.
My host:
###############################################################################
#
# Host configuration file
#
# Created by: Nagios QL Version 3.2.0
# Date: 2017-01-02 13:18:56
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################
define host {
host_name _UDP-C
alias 4F UDP-C
address 172.16.x.x
use xxx-server
contacts nagiosadmin
register 1
}
###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################
My service:
###############################################################################
#
# Service configuration file
#
# Created by: Nagios QL Version 3.2.0
# Date: 2017-01-02 13:18:57
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################
define service {
#NAGIOSQL_CONFIG_NAME imp_n6t4-UDPC
host_name _UDP-A
service_description Current UDP C
display_name Current UDP C
use generic-env832-device
check_command check_current_pmm_udp!21!0!1100
passive_checks_enabled 1
register 1
}
###############################################################################
#
# Service configuration file
#
# END OF FILE
#
###############################################################################
My Command:
define command {
command_name check_current_pmm_udp
command_line $USER1$/check_current_pmm.py -H $HOSTADDRESS$ -a $ARG1$ -c1 $ARG2$ -c2 $ARG3$
register 1
}
I attach my picture new.
Please help me.
Re: Notice Unknown on nagios !
You will want to modify the python script to have a longer timeout as @Box293 mentioned, or debug why that variable is happening. This isn't a standard plugin, so we're limited on the help we can provide for it.
Former Nagios Employee