Search found 25 matches

by liberodark
Wed Aug 14, 2019 7:58 am
Forum: Open Source Nagios Projects
Topic: New strange error
Replies: 3
Views: 1747

Re: New strange error

Hi,

Have fixe with add GENERIC_SERVICE on Template

Best Regards
by liberodark
Wed Aug 14, 2019 7:57 am
Forum: Open Source Nagios Projects
Topic: My Plugins Compatible with Graphic
Replies: 7
Views: 2470

Re: My Plugins Compatible with Graphic

Ok thanks im go to see that
by liberodark
Mon Jul 08, 2019 3:36 am
Forum: Open Source Nagios Projects
Topic: New strange error
Replies: 3
Views: 1747

New strange error

Hi, Have work on check_service plugin is work great but now is not work :( Have updated check_cpu / check_mem and nagios do not want to export that configuration anymore. Have this error : Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'Check ...
by liberodark
Fri Jul 05, 2019 9:13 am
Forum: Open Source Nagios Projects
Topic: My Plugins Compatible with Graphic
Replies: 7
Views: 2470

Re: My Plugins Compatible with Graphic

Hi, Thanks for reply have fix cpu and memory but memory is not work : CPU work on all graph : check_cpu -w 70 -c 90 CPU OK - Used = 1.00% |'Core 0'=1.00%; Memory not work on graph 1 but work on graph 2 : check_mem -w 70 -c 90 MEMORY OK - Used = 49.27% | 'Total'=1838MB 'Used'=906MB 'Free'=932MB Graph...
by liberodark
Wed Jul 03, 2019 3:03 pm
Forum: Open Source Nagios Projects
Topic: My Plugins Compatible with Graphic
Replies: 7
Views: 2470

Re: My Plugins Compatible with Graphic

Hi thanks and for

Code: Select all

./check_mem -w 70 -c 90
MEMORY Warning - Used = 82.64% | Total: 3756 MB Used: 3104 MB Free: 652 MB
Is

Code: Select all

./check_mem -w 70 -c 90
MEMORY Warning - Used = 82.64% | Total: '3756' MB Used: '3104' MB Free: '652' MB
?

Best Regards
by liberodark
Tue Jul 02, 2019 10:38 am
Forum: Open Source Nagios Projects
Topic: My Plugins Compatible with Graphic
Replies: 7
Views: 2470

My Plugins Compatible with Graphic

Hi, How to make my plugin compatible with graphic ? That is shell see ./check_cpu -w 70 -c 90 CPU OK - Used = 0.00% | Core 0 = 0.00%; Core 1 = 0.99% But for me just work OK / Warning / Critical but Graph no work :( https://i.imgur.com/rntStWo.png Need to see on graph not "Core 0" and "...
by liberodark
Fri May 31, 2019 3:05 am
Forum: Open Source Nagios Projects
Topic: My plugin not work ?
Replies: 6
Views: 2374

Re: My plugin not work ?

Ok have try :

with visudo

Code: Select all

nagios ALL=NOPASSWD: /usr/local/nagios/libexec/check_cpu
that work

Best Regards

So sorry to disturb you no forget to change the chown all plugins is on nagios and this plugin have add manually is very stupid issue sorry.
by liberodark
Fri May 31, 2019 2:42 am
Forum: Open Source Nagios Projects
Topic: My plugin not work ?
Replies: 6
Views: 2374

Re: My plugin not work ?

Yes is not work in su nagios

Code: Select all

su nagios
bash-4.2$ /usr/local/nagios/libexec/check_cpu -w 70 -c 90
bash: /usr/local/nagios/libexec/check_cpu: Permission non accordée
have try to

Code: Select all

chown nagios:nagios /usr/local/nagios/libexec/check_cpu
Now work on su nagios
by liberodark
Thu May 30, 2019 7:50 am
Forum: Open Source Nagios Projects
Topic: My plugin not work ?
Replies: 6
Views: 2374

Re: My plugin not work ?

For what need sudo ?
This plugin run without sudo.
Have possibility to no add sudo ? would better for me.

Best Regard
Thanks for your reply
by liberodark
Wed May 29, 2019 8:10 am
Forum: Open Source Nagios Projects
Topic: My plugin not work ?
Replies: 6
Views: 2374

My plugin not work ?

Hi, Have make new plugin for cpu nrpe but is not work is very strange. https://github.com/liberodark/nrpe-installer/blob/master/src/check_cpu.c Centos 7 SELinux disable Work in local : ./check_cpu -w 70 -c 90 OK: CPU Used = 0.00% | Core 0 = 0.00%; Core 1 = 0.00% parameter on nrpe.cfg : command[cpu]=...