Search found 15 matches
- Fri Oct 11, 2013 2:19 am
- Forum: Open Source Nagios Projects
- Topic: no ping -> no checks
- Replies: 1
- Views: 812
no ping -> no checks
Hi! Can the nagios works that if the workstation machines are off, then nagios doesn't show as critical (marked as red)? For example, if no ping (host check) then nagios doesn't run the service check commands. (And mark it as unknown?) (I use nagios "nsca mode" /nagios nsca client -> nagio...
- Wed Aug 28, 2013 2:35 am
- Forum: Open Source Nagios Projects
- Topic: check_hp output null
- Replies: 10
- Views: 3860
Re: check_hp output null
I solved it.
The check_hp plugin contain an invalid path by me:
The correct path:
It works!
Thanks!
The check_hp plugin contain an invalid path by me:
Code: Select all
use POSIX;
use strict;
use lib "/usr/local/nagios/libexec";
...
Code: Select all
use lib "/usr/lib/nagios/plugins";
It works!
Thanks!
- Wed Aug 28, 2013 1:30 am
- Forum: Open Source Nagios Projects
- Topic: check_hp output null
- Replies: 10
- Views: 3860
Re: check_hp output null
Can you "su" to the nagios user and try executing the plugin from the command line with the values you would be using for the check? # su - nagios This account is currently not available. Because nagios has nologin by default. But it gets output, it works in command line: sudo -u nagios ....
- Tue Aug 27, 2013 8:58 am
- Forum: Open Source Nagios Projects
- Topic: check_hp output null
- Replies: 10
- Views: 3860
Re: check_hp output null
It doesn't work.slansing wrote:Try nagios.apache, if that does not work, try nagios.nagios. It should not be root.root as the web interface will not execute it as root.
Same... output: (null)
- Fri Aug 16, 2013 5:28 am
- Forum: Open Source Nagios Projects
- Topic: check_hp output null
- Replies: 10
- Views: 3860
Re: check_hp output null
the file permission:
Do I try to set it to nagios.nagios?
(I will try it...)
Code: Select all
/usr/lib/nagios/plugins/check_hp rwxrwxr-x root root
(I will try it...)
- Thu Aug 15, 2013 1:26 am
- Forum: Open Source Nagios Projects
- Topic: check_hp output null
- Replies: 10
- Views: 3860
Re: check_hp output null
I tried to run as nagios user:
Then it was correctly. I got the response from HP server.
In Webinterface output: (null)
Why is it?
Code: Select all
sudo -u nagios ./check_hp -H 10.10.10.115 -C public -v 2
In Webinterface output: (null)
Why is it?
- Wed Aug 14, 2013 9:34 am
- Forum: Open Source Nagios Projects
- Topic: check_hp output null
- Replies: 10
- Views: 3860
Re: check_hp output null
The check_hp file is not for nagios. Need for example a shell script.
Can anyone send a script to it?
Can anyone send a script to it?
- Wed Aug 14, 2013 6:25 am
- Forum: Open Source Nagios Projects
- Topic: check_hp output null
- Replies: 10
- Views: 3860
check_hp output null
Hi! I try it: http://exchange.nagios.org/directory/Plugins/Hardware/Server-Hardware/HP-%28Compaq%29/check_hp/details In command line is okay: "Compaq/HP Agent Check: overall system state OK" But in nagios output: (null) define command { command_name check_hp command_line $USER1$/check_hp -...
- Tue Aug 13, 2013 6:58 am
- Forum: Open Source Nagios Projects
- Topic: nrpe smartpfa: No handler for command: ...
- Replies: 2
- Views: 2157
Re: nrpe smartpfa: No handler for command: ...
Hi!
It works with this lines of 'nsclient.ini':
Which warning and critical parameter need to be set?
It works with this lines of 'nsclient.ini':
Code: Select all
; external scripts
[/settings/external scripts]
allow_arguments=1
allow_nasty_meta_chars=1
[/settings/external scripts/scripts]
check_smartpfa = cscript.exe //T:60 //NoLogo scripts/smartpfa.vbs
- Tue Aug 13, 2013 4:14 am
- Forum: Open Source Nagios Projects
- Topic: nrpe smartpfa: No handler for command: ...
- Replies: 2
- Views: 2157
nrpe smartpfa: No handler for command: ...
Hi! I try the smartpfa.vbs from nrpe http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/NRPE/Check-S-2EM-2EA-2ER-2ET-or-PFA-errors/details . The 'smartpfa.vbs' script is in "scripts" folder (NSClient++). The Nagios Linux send check to the Windows (NSClient++): check_nrp...