I've got the plugin check_time in some of my machines, however some of them are returning me a CRITICAL status "Return code of -1 is out of bounds"
I'm using the following: check_command check_time!localhost!37!30!90
When run by hand all seems ok, and it gives me an OK status.
What can be the problem here?
Return code of -1 is out of bounds on check_time
Return code of -1 is out of bounds on check_time
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Return code of -1 is out of bounds on check_time
Can you show us an example of your command definition from within Nagios xi, and how you run the plugin manually from the Nagios command line to the remote server when it works?
Configuration > CCM > Commands.
Configuration > CCM > Commands.
Re: Return code of -1 is out of bounds on check_time
Thanks for the reply slansing, It appears it was a misconfiguration on my side from a variable badly placed, this thread can be binned
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk