Search found 6 matches

by Imagin0s
Wed Aug 12, 2020 2:16 am
Forum: Open Source Nagios Projects
Topic: Nagios plugin with argument doesn't work
Replies: 8
Views: 2649

Re: Nagios plugin with argument doesn't work

The directive dont_blame_nrpe is well configured :

root@xxxxxxxxxxxxx:/etc/nagios$ cat nrpe.cfg|grep blame
dont_blame_nrpe=1
# command arguments *AND* the dont_blame_nrpe directive in this

By the way, the plugin check_http also uses arguments and it works fine.
by Imagin0s
Wed Aug 12, 2020 2:11 am
Forum: Open Source Nagios Projects
Topic: Nagios plugin with argument doesn't work
Replies: 8
Views: 2649

Re: Nagios plugin with argument doesn't work

I have already tried to run the plugin with arguments on the nagios client and it works fine :

root@s01vl9907788:/usr/lib64/nagios/plugins$ ./check_backup_tsm no_check_sunday
Everything seems OK this saturday
by Imagin0s
Mon Aug 10, 2020 3:09 am
Forum: Open Source Nagios Projects
Topic: Nagios plugin with argument doesn't work
Replies: 8
Views: 2649

Re: Nagios plugin with argument doesn't work

Hello, Sorry for the late reply. Yes I have just tried it : Command : /usr/lib64/nagios/plugins/check_nrpe -t 60 -H S01VL9907788 -c check_backup_tsm -a no_check_sunday Output : Curious behavior. No logs are availables for at least one of them : /apps/backup_restore/logs/s01vl9907788*.crs.200809.csv ...
by Imagin0s
Mon Jul 27, 2020 8:45 am
Forum: Open Source Nagios Projects
Topic: Nagios plugin with argument doesn't work
Replies: 8
Views: 2649

Nagios plugin with argument doesn't work

Hello, I have created a plugin developped in bash which check content of TSM log. The plugin can be launched without any argument like that : /usr/lib64/nagios/plugins/check_backup_tsm Or it can be launched with an argument like that : /usr/lib64/nagios/plugins/check_backup_tsm no_check_sunday When ...