Search found 19 matches

by afigles
Tue Oct 22, 2019 11:28 am
Forum: Open Source Nagios Projects
Topic: How install a new plugin
Replies: 11
Views: 3484

Re: How install a new plugin

Great!! check_all_fs works but I see that only show system FS and the FS created, example /backup, dont show do you know why? Permissions??
by afigles
Tue Oct 22, 2019 10:10 am
Forum: Open Source Nagios Projects
Topic: How install a new plugin
Replies: 11
Views: 3484

Re: How install a new plugin

root@rdxnagios:/usr/local/nagios/etc# su nagios $ /usr/local/nagios/libexec/check_all_fs.sh -w 90 -c 95 sh: 1: /usr/local/nagios/libexec/check_all_fs.sh: not found $ /usr/local/nagios/libexec/check_all_fs.sh -w 90 -c 95 sh: 2: /usr/local/nagios/libexec/check_all_fs.sh: not found $ exit root@rdxnagi...
by afigles
Tue Oct 22, 2019 9:59 am
Forum: Open Source Nagios Projects
Topic: How install a new plugin
Replies: 11
Views: 3484

Re: How install a new plugin

Code: Select all

$USER1$=/usr/local/nagios/libexec
by afigles
Tue Oct 22, 2019 9:54 am
Forum: Open Source Nagios Projects
Topic: How install a new plugin
Replies: 11
Views: 3484

Re: How install a new plugin

Code: Select all

root@rdxnagios:/usr/local/nagios/libexec# ls -l
total 10324
-rwxr-xr-x 1 root nagios    4353 Oct 22 11:17 check_all_fs.sh
In /usr/local/nagios/libexec
by afigles
Tue Oct 22, 2019 9:36 am
Forum: Open Source Nagios Projects
Topic: How install a new plugin
Replies: 11
Views: 3484

Re: How install a new plugin

I got this error in the console: stderr: execvp(/usr/local/nagios/libexec/check_all_fs.sh, ...) failed. errno is 2: No such file or directory The config: In commands.cfg # 'check_all_fs' command definition define command{ command_name check_all_fs command_line $USER1$/check_all_fs.sh -w $ARG1$ -c $A...
by afigles
Tue Oct 22, 2019 4:54 am
Forum: Open Source Nagios Projects
Topic: How install a new plugin
Replies: 11
Views: 3484

How install a new plugin

Hello, I am a new admin nagios, I have download this check https://exchange.nagios.org/directory/Plugins/Operating-Systems/Unix-2FLinux-scan-and-check-all-current-filesystem/details Its a .sh file but my problem is, How install/load the .sh file? I have copied the .sf file in /usr/local/nagios/libex...
by afigles
Fri Sep 27, 2019 1:14 am
Forum: Open Source Nagios Projects
Topic: Monitor only service
Replies: 7
Views: 1912

Re: Monitor only service

Great! Thanks!
by afigles
Thu Sep 26, 2019 11:15 am
Forum: Open Source Nagios Projects
Topic: Monitor only service
Replies: 7
Views: 1912

Re: Monitor only service

But this command will be a new service no??

In the console is the host, status and service. Muy problem is that an host is in AWS cloud and ICMP is not allow and is Down, how could change the value to Unreachable or not check the status??

that is to say, I only monitor the service and not host.
by afigles
Thu Sep 26, 2019 9:41 am
Forum: Open Source Nagios Projects
Topic: Monitor only service
Replies: 7
Views: 1912

Re: Monitor only service

MMM but whats the command for the status?? In my cfg file is not the command.
by afigles
Tue Sep 24, 2019 1:52 am
Forum: Open Source Nagios Projects
Topic: Monitor only service
Replies: 7
Views: 1912

Monitor only service

Hello team, We want to monitor only a service, no status host. I have define the host and the service (check_http) but the console shows the status as Down, how could I no monitor the status host? This is my cfg: define host{ use linux-server ; Inherit default values from a template host_name SCTD ;...