Thanks for your help.
I will check it as soon as I have some spare time.
Search found 9 matches
- Wed Mar 21, 2012 10:17 am
- Forum: Open Source Nagios Projects
- Topic: [sort of SOLVED] Script (plugin) not working as expected
- Replies: 12
- Views: 2918
- Fri Mar 09, 2012 8:17 am
- Forum: Open Source Nagios Projects
- Topic: [sort of SOLVED] Script (plugin) not working as expected
- Replies: 12
- Views: 2918
Re: [sort of SOLVED] Script (plugin) not working as expected
Nope. I can't do anything in the remote machine, because is a production server.
But thank you!
But thank you!
- Thu Mar 08, 2012 8:26 am
- Forum: Open Source Nagios Projects
- Topic: [sort of SOLVED] Script (plugin) not working as expected
- Replies: 12
- Views: 2918
Re: [sort of SOLVED] Script (plugin) not working as expected
This:
is on the remote Host, and I can't touch it for something else that diagnosis commands.
We cannot change anything about that command.
Code: Select all
/usr/opt/something/commandWe cannot change anything about that command.
- Wed Mar 07, 2012 11:32 am
- Forum: Open Source Nagios Projects
- Topic: [sort of SOLVED] Script (plugin) not working as expected
- Replies: 12
- Views: 2918
Re: [sort of SOLVED] Script (plugin) not working as expected
Thanks for the response. These are the current settings of check_by_ssh: -rwxr-xr-x 1 root root 39796 may 22 2011 check_by_ssh The command executed in the remote Host (.../usr/opt/something/command | grep SOMETHING1 | grep SOMETHING-MORE...) needs root privileges. Nagios user can login through ssh j...
- Wed Mar 07, 2012 9:47 am
- Forum: Open Source Nagios Projects
- Topic: [sort of SOLVED] Script (plugin) not working as expected
- Replies: 12
- Views: 2918
Re: Script (plugin) not working as expected
Answer to myself: In order to work, I had to: 1) Assign a Shell to user nagios: usermod -s /bin/bash nagios 2) Include user nagios in sudoers list: nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_by_ssh 3) Edit the script: RESPUESTA=`sudo /usr/lib/nagios/plugins/check_by_ssh -H 10.xx.xx.xx ...
- Wed Mar 07, 2012 8:08 am
- Forum: Open Source Nagios Projects
- Topic: [sort of SOLVED] Script (plugin) not working as expected
- Replies: 12
- Views: 2918
[sort of SOLVED] Script (plugin) not working as expected
Hello guys! We are developing a script in our Nagiso Server to check a Host by "check_by_ssh" plugin. We have everything correctly configured. This is the script (modificated for preserve delicate information): #!/bin/bash RESPUESTA=`/usr/lib/nagios/plugins/check_by_ssh -H 10.xx.xx.xx -C /...
- Tue Feb 14, 2012 10:06 am
- Forum: Open Source Nagios Projects
- Topic: NSCA is not writing on log file(s)
- Replies: 3
- Views: 1527
Re: NSCA is not writing on log file(s)
I'm using openbsd-inetdnscott wrote:Are you using any kind of super daemon like xinetd?
- Mon Feb 13, 2012 1:36 pm
- Forum: Open Source Nagios Projects
- Topic: NSCA is not writing on log file(s)
- Replies: 3
- Views: 1527
Re: NSCA is not writing on log file(s)
Anyone please?
- Thu Feb 09, 2012 1:23 pm
- Forum: Open Source Nagios Projects
- Topic: NSCA is not writing on log file(s)
- Replies: 3
- Views: 1527
NSCA is not writing on log file(s)
I have an installation of Nagios3 on my Debian sever. I have followed several tutorials for that and is working ok (I'm monitoring a client successfully ). I have tried to implement NSCA to monitor certain processes, but I'm first testing it in the server ( locally ). So, I have installed and config...