Does it mean that in addition to providing all of the required args for each of the commands manually, I also need to do it manually for every single host???
Don't you have a standard type of arguments that work for each of the commands passed and then each Admin can tweak them as they want?
I think most Linux Admins are looking for the same thing from nagios software -- to get performance statistics about their remote hosts (like CPU usage, memory/swap utilization, I/O, disk space monitoring, etc.) with the nice graphs.
Building every single command manually and testing it is a way too much time for Admins! Don't you agree?
After removing extra " /" from each command (bug in a wizard), I get the following output that I need to tune manually each command (except "ping" and "disk space" that work with default settings):
Check breeze
Critical 55m 21s 4/4 2012-02-29 14:12:17 Remote command execution failed: Can't exec "snmpget": No such file or directory at /usr/local/nagios/libexec/check_breeze line 50.
Check Load
Unknown 1d 6h 15m 26s 4/4 2012-02-29 14:10:01 check_load: Could not parse arguments
Check Log
Unknown 1d 6h 14m 53s 4/4 2012-02-29 14:10:45 Usage: check_log -F logfile -O oldlog -q query
Check nwstat
Unknown 1d 6h 13m 46s 4/4 2012-02-29 14:08:57 check_nwstat: Could not parse arguments
Current Users
Unknown 1d 6h 13m 13s 5/5 2012-02-29 14:08:25 (No output returned from plugin)
Mrtg
Unknown 1d 6h 12m 39s 4/4 2012-02-29 14:09:25 check_mrtg: Could not parse arguments
Mrtgtraf
Unknown 1d 6h 12m 6s 4/4 2012-02-29 14:08:32 check_mrtgtraf: Could not parse arguments
Ping
Ok 1d 6h 11m 33s 1/5 2012-02-29 14:11:05 OK - 10.70.10.16: rta 1.166ms, lost 0%
Root Disk Space
Ok 20h 57m 59s 1/5 2012-02-29 14:09:39 DISK OK - free space: / 3028 MB (80% inode=98%):
Remote commnad execution failed
-
- Posts: 32
- Joined: Mon Feb 27, 2012 10:50 am
Re: Remote commnad execution failed
Thanks for your replies!
Does it mean that in addition to providing all of the required args for each of the commands manually, I also need to do it manually for every single host???
Don't you have a standard type of arguments that work for each of the commands passed and then each Admin can tweak them as they want?
I think most Linux Admins are looking for the same thing from nagios software -- to get performance statistics about their remote hosts (like CPU usage, memory/swap utilization, I/O, disk space monitoring, etc.) with the nice graphs.
Building every single command manually and testing it is a way too much time for Admins! Don't you agree?
After removing extra " /" from each command (bug in a wizard), I get the following output that I need to tune manually each command (except "ping" and "disk space" that work with default settings):
Check breeze
Critical 55m 21s 4/4 2012-02-29 14:12:17 Remote command execution failed: Can't exec "snmpget": No such file or directory at /usr/local/nagios/libexec/check_breeze line 50.
Check Load
Unknown 1d 6h 15m 26s 4/4 2012-02-29 14:10:01 check_load: Could not parse arguments
Check Log
Unknown 1d 6h 14m 53s 4/4 2012-02-29 14:10:45 Usage: check_log -F logfile -O oldlog -q query
Check nwstat
Unknown 1d 6h 13m 46s 4/4 2012-02-29 14:08:57 check_nwstat: Could not parse arguments
Current Users
Unknown 1d 6h 13m 13s 5/5 2012-02-29 14:08:25 (No output returned from plugin)
Mrtg
Unknown 1d 6h 12m 39s 4/4 2012-02-29 14:09:25 check_mrtg: Could not parse arguments
Mrtgtraf
Unknown 1d 6h 12m 6s 4/4 2012-02-29 14:08:32 check_mrtgtraf: Could not parse arguments
Ping
Ok 1d 6h 11m 33s 1/5 2012-02-29 14:11:05 OK - 10.70.10.16: rta 1.166ms, lost 0%
Root Disk Space
Ok 20h 57m 59s 1/5 2012-02-29 14:09:39 DISK OK - free space: / 3028 MB (80% inode=98%):
Does it mean that in addition to providing all of the required args for each of the commands manually, I also need to do it manually for every single host???
Don't you have a standard type of arguments that work for each of the commands passed and then each Admin can tweak them as they want?
I think most Linux Admins are looking for the same thing from nagios software -- to get performance statistics about their remote hosts (like CPU usage, memory/swap utilization, I/O, disk space monitoring, etc.) with the nice graphs.
Building every single command manually and testing it is a way too much time for Admins! Don't you agree?
After removing extra " /" from each command (bug in a wizard), I get the following output that I need to tune manually each command (except "ping" and "disk space" that work with default settings):
Check breeze
Critical 55m 21s 4/4 2012-02-29 14:12:17 Remote command execution failed: Can't exec "snmpget": No such file or directory at /usr/local/nagios/libexec/check_breeze line 50.
Check Load
Unknown 1d 6h 15m 26s 4/4 2012-02-29 14:10:01 check_load: Could not parse arguments
Check Log
Unknown 1d 6h 14m 53s 4/4 2012-02-29 14:10:45 Usage: check_log -F logfile -O oldlog -q query
Check nwstat
Unknown 1d 6h 13m 46s 4/4 2012-02-29 14:08:57 check_nwstat: Could not parse arguments
Current Users
Unknown 1d 6h 13m 13s 5/5 2012-02-29 14:08:25 (No output returned from plugin)
Mrtg
Unknown 1d 6h 12m 39s 4/4 2012-02-29 14:09:25 check_mrtg: Could not parse arguments
Mrtgtraf
Unknown 1d 6h 12m 6s 4/4 2012-02-29 14:08:32 check_mrtgtraf: Could not parse arguments
Ping
Ok 1d 6h 11m 33s 1/5 2012-02-29 14:11:05 OK - 10.70.10.16: rta 1.166ms, lost 0%
Root Disk Space
Ok 20h 57m 59s 1/5 2012-02-29 14:09:39 DISK OK - free space: / 3028 MB (80% inode=98%):
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Remote commnad execution failed
I guess it comes down to what do you want to monitor and when do you what is considered critical to your organization?lgitten wrote:Does it mean that in addition to providing all of the required args for each of the commands manually, I also need to do it manually for every single host???
Don't you have a standard type of arguments that work for each of the commands passed and then each Admin can tweak them as they want?
I think most Linux Admins are looking for the same thing from nagios software -- to get performance statistics about their remote hosts (like CPU usage, memory/swap utilization, I/O, disk space monitoring, etc.) with the nice graphs.
Building every single command manually and testing it is a way too much time for Admins! Don't you agree?
Out of curiousity, where did you get the list of commands you are using? I know that a couple like "Ping" and "Root Disk Space" were defaults in the wizard, but how about the rest?
For example, check_breeze:
This plugin reports the signal strength of a Breezecom wireless equipment
Are you monitoring Breezecom wireless equipment from every host?
What Percentage strength is a good warning threshold for your organization? 70? 80?
What Percentage strength is a good critical threshold for your organization? 70? 80?
These are decisions that are usually made by the admins, once. Once you know what you are monitoring and what is the correct levels you want to use system wide, you can use the same values for all of your servers if you like.
More examples:
check_log:
This takes a logfile as a command and searches for a pattern.
There is no way for Nagios to give you pre-defined values for this...
check_mrtg:
This plugin will check either the average or maximum value of one of the two variables recorded in an MRTG log file.
No way for Nagios to know the name of your mrtg log file and what values you are looking for.
Here's some common one
Check Users
Code: Select all
/usr/local/nagios/libexec/check_users -w 5 -c 10
Code: Select all
/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20
Code: Select all
/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/hda1
Code: Select all
/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z
Code: Select all
/usr/local/nagios/libexec/check_procs -w 150 -c 200
-
- Posts: 32
- Joined: Mon Feb 27, 2012 10:50 am
Re: Remote commnad execution failed
Scott, thank you very much for detailed explanation and all your help throughout the setup process!
You guys are doing great job considering you communicating everything by mail only.
Why not have the phone support as well? Those type of explanations would save a lot of time for Nagios users as well as support team.
Based on your quote below, once I define my commands for one remote host and I want to duplicate those commands on 10 more hosts,
is there an easy way of copying those commands with arguments to other 10 hosts without retyping manually every single one?
You guys are doing great job considering you communicating everything by mail only.
Why not have the phone support as well? Those type of explanations would save a lot of time for Nagios users as well as support team.
Based on your quote below, once I define my commands for one remote host and I want to duplicate those commands on 10 more hosts,
is there an easy way of copying those commands with arguments to other 10 hosts without retyping manually every single one?
scottwilkerson wrote: Once you know what you are monitoring and what is the correct levels you want to use system wide, you can use the same values for all of your servers if you like.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Remote commnad execution failed
One of the additional features we have for customers is the bulk host import wizard. How this works is you setup one host with services the way you want, then you run this wizard and tel it what host to copy, give it a list of IP's/hostnames and it replicates the setup for all of them.lgitten wrote:Based on your quote below, once I define my commands for one remote host and I want to duplicate those commands on 10 more hosts, is there an easy way of copying those commands with arguments to other 10 hosts without retyping manually every single one?
We are working on this as we speak, however I don't have detail about when it will be deployed or what the price will be for a phone support contract.lgitten wrote:Why not have the phone support as well?