Search found 8 matches
- Wed Apr 08, 2015 3:30 am
- Forum: Open Source Nagios Projects
- Topic: Nagios check_nt plugin
- Replies: 3
- Views: 3295
Re: Nagios check_nt plugin
Start using password and in allowed_host wrote my Nagios Master ip. On client side: C:\Users\aleksandrs.jurcenko>netstat -an | find ":12489" TCP 0.0.0.0:12489 0.0.0.0:0 LISTENING But the result is the same: ./check_nt -H 170.252.34.130 -s "admin" -p 12489 -v UPTIME CRITICAL - Soc...
- Tue Apr 07, 2015 7:23 am
- Forum: Open Source Nagios Projects
- Topic: Nagios check_nt plugin
- Replies: 3
- Views: 3295
Nagios check_nt plugin
Hello, could someone help me please??? I have Nagios Master on Linux server. And Windows machine which i need monitor. For it I decided to use check_nt plugin http://www.thegeekstuff.com/2008/07/how-to-monitor-remote-windows-machine-using-nagios-on-linux/ I got these errors in my log file: 2015-04-0...
- Wed Mar 04, 2015 8:23 am
- Forum: Nagios XI
- Topic: Nagios own command use
- Replies: 11
- Views: 3915
Re: Nagios own command use
i think, i resolved it, with check_by_ssh plugin. if i run command mannualy all is ok: ./check_by_ssh -H 170.252.34.127 -l dir+dcsc_ldap -E -C '/usr/local/nagios/libexec/check_load -w 1,1,1 -c 3,3,3' if i put it to .cfg file: define command{ command_name my_com2 command_line $USER1$/check_by_ssh -H ...
- Tue Mar 03, 2015 10:32 am
- Forum: Nagios XI
- Topic: Nagios own command use
- Replies: 11
- Views: 3915
Re: Nagios own command use
no, I understood you.
I have tried with both variant, the result is the same
(No output on stdout) stderr: execvp(/usr/local/nagios/libexec/my3, ...) failed. errno is 2: No such file or directory
I have tried with both variant, the result is the same
(No output on stdout) stderr: execvp(/usr/local/nagios/libexec/my3, ...) failed. errno is 2: No such file or directory
- Tue Mar 03, 2015 9:42 am
- Forum: Nagios XI
- Topic: Nagios own command use
- Replies: 11
- Views: 3915
Re: Nagios own command use
No problem is not in my3.sh
yes, i can run script manually.
./my3.sh
all will work
yes, i can run script manually.
./my3.sh
all will work
- Tue Mar 03, 2015 4:04 am
- Forum: Nagios XI
- Topic: Nagios own command use
- Replies: 11
- Views: 3915
Re: Nagios own command use
I wrote: my3.sh (bash script) #!/bin/sh ssh dir+dcsc_ldap@170.252.34.124 "/usr/local/nagios/libexec/check_load -w 1,1,1 -c 3,3,3" exit $? and in .cfg file I call: define command{ command_name my_com command_line $USER1$/my3 } and the output in the Nagios is: (No output on stdout) stderr: e...
- Mon Mar 02, 2015 11:21 am
- Forum: Nagios XI
- Topic: Nagios own command use
- Replies: 11
- Views: 3915
Re: Nagios own command use
Can I make it without check_by_ssh and check_nrpe? I need that it was like: ssh dir+dcsc_ldap@170.252.34.124 "/usr/local/nagios/libexec/check_load -w 1,1,1 -c 3,3,3" How I can put it to command? define command{ command_name my_com command_line "ssh dir+dcsc_ldap@170.252.34.124 "/...
- Mon Mar 02, 2015 8:39 am
- Forum: Nagios XI
- Topic: Nagios own command use
- Replies: 11
- Views: 3915
Nagios own command use
Hi, i wanted to use this command in my Nagios: ssh dir+dcsc_ldap@170.252.34.124 "/usr/local/nagios/libexec/check_load -w 1,1,1 -c 3,3,3" if i run it, it works good. But how can i define it like a command? define command{ command_name my_com command_line ssh dir+dcsc_ldap@170.252.34.124 &qu...