Having trouble installing plugin
Re: Having trouble installing plugin
Can you post your command, host, and service definitions?
command definition
CCM->Commands->Download
Copy/Paste only the command in question
host
CCM->Hosts->find your host and click on the "Download" action button next to it (diskette icon)
service
CCM->Services->find your service and click on the "Download" action button next to it (diskette icon)
Copy/Paste only the service in question
command definition
CCM->Commands->Download
Copy/Paste only the command in question
host
CCM->Hosts->find your host and click on the "Download" action button next to it (diskette icon)
service
CCM->Services->find your service and click on the "Download" action button next to it (diskette icon)
Copy/Paste only the service in question
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: Having trouble installing plugin
define command {
command_name sgichk_cuda_queues.pl
command_line $USR$/sgichk_cuda_queues.pl $ARG1$
}
###############################################################################
#
# Host configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2012-07-26 08:14:49
# 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 Barracuda
alias Spam Filter
address 64.5.129.4
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
contacts nagiosadmin
contact_groups admins
notification_interval 60
notification_period 24x7
first_notification_delay 0
notification_options n
notifications_enabled 0
register 1
}
###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################
###############################################################################
#
# Service configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2012-07-26 08:15:37
# 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 {
host_name Barracuda
service_description Barracuda Queue
check_command sgichk_cuda_queues.pl!!!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 60
notification_period 24x7
contacts nagiosadmin
register 1
}
###############################################################################
#
# Service configuration file
#
# END OF FILE
#
###############################################################################
command_name sgichk_cuda_queues.pl
command_line $USR$/sgichk_cuda_queues.pl $ARG1$
}
###############################################################################
#
# Host configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2012-07-26 08:14:49
# 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 Barracuda
alias Spam Filter
address 64.5.129.4
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
contacts nagiosadmin
contact_groups admins
notification_interval 60
notification_period 24x7
first_notification_delay 0
notification_options n
notifications_enabled 0
register 1
}
###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################
###############################################################################
#
# Service configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2012-07-26 08:15:37
# 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 {
host_name Barracuda
service_description Barracuda Queue
check_command sgichk_cuda_queues.pl!!!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 60
notification_period 24x7
contacts nagiosadmin
register 1
}
###############################################################################
#
# Service configuration file
#
# END OF FILE
#
###############################################################################
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Having trouble installing plugin
Go in to Modify the Host Barracuda
set the following
Set Check command=check_dummy
$ARG1$=0
then, Save
Apply Configuration
set the following
Set Check command=check_dummy
$ARG1$=0
then, Save
Apply Configuration
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: Having trouble installing plugin
Still getting
(Return code of 127 is out of bounds - plugin may be missing)
###############################################################################
#
# Host configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2012-07-26 10:23:22
# 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 Barracuda
alias Spam Filter
address 64.5.129.4
check_command check_dummy!0!!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
contacts nagiosadmin
contact_groups admins
notification_interval 60
notification_period 24x7
first_notification_delay 0
notifications_enabled 0
register 1
}
###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################
(Return code of 127 is out of bounds - plugin may be missing)
###############################################################################
#
# Host configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2012-07-26 10:23:22
# 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 Barracuda
alias Spam Filter
address 64.5.129.4
check_command check_dummy!0!!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
contacts nagiosadmin
contact_groups admins
notification_interval 60
notification_period 24x7
first_notification_delay 0
notifications_enabled 0
register 1
}
###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: Having trouble installing plugin
Barracuda Barracuda Queue Critical 19h 30m 18s 5/5 2012-07-26 10:22:30 (Return code of 127 is out of bounds - plugin may be missing)
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Having trouble installing plugin
Are you getting this on the host or the service?
Can you post the command you created for sgichk_cuda_queues.pl in CCM -> commands
Can you post the command you created for sgichk_cuda_queues.pl in CCM -> commands
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: Having trouble installing plugin
}
define command {
command_name sgichk_cuda_queues.pl
command_line $USR$/sgichk_cuda_queues.pl $ARG1$
}
define command {
command_name sgichk_cuda_queues.pl
command_line $USR$/sgichk_cuda_queues.pl $ARG1$
}
Re: Having trouble installing plugin
You need to have $USR1$ not $USR$ in the command definition:
Code: Select all
define command {
command_name sgichk_cuda_queues.pl
command_line $USR1$/sgichk_cuda_queues.pl $ARG1$
}Be sure to check out our Knowledgebase for helpful articles and solutions!
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: Having trouble installing plugin
define command {
command_name sgichk_cuda_queues.pl
command_line $USR1$/sgichk_cuda_queues.pl $ARG1$
}
command_name sgichk_cuda_queues.pl
command_line $USR1$/sgichk_cuda_queues.pl $ARG1$
}
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: Having trouble installing plugin
Still getting
(Return code of 127 is out of bounds - plugin may be missing)
(Return code of 127 is out of bounds - plugin may be missing)