Search found 8 matches
- Mon Aug 04, 2014 12:17 pm
- Forum: Open Source Nagios Projects
- Topic: Problems with my own plugins
- Replies: 18
- Views: 11657
Re: Problems with my own plugins
wow. i forget to thank you 
- Mon Aug 04, 2014 11:56 am
- Forum: Open Source Nagios Projects
- Topic: Problems with my own plugins
- Replies: 18
- Views: 11657
Re: Problems with my own plugins
Yeah works really well with me. I work around grep command. But now i read the batch mode in manual page and understanding this.
- Fri Aug 01, 2014 7:18 pm
- Forum: Open Source Nagios Projects
- Topic: Problems with my own plugins
- Replies: 18
- Views: 11657
Re: Problems with my own plugins
yeah my tests is the same like yours.
- Thu Jul 31, 2014 11:33 am
- Forum: Open Source Nagios Projects
- Topic: Problems with my own plugins
- Replies: 18
- Views: 11657
Re: Problems with my own plugins
tmcdonald i dont understaing what you write about linking with bc. Because with nagios user and root works well the variables.
- Mon Jul 28, 2014 11:28 am
- Forum: Open Source Nagios Projects
- Topic: Problems with my own plugins
- Replies: 18
- Views: 11657
Re: Problems with my own plugins
I remove the pipe separator but same issues: [root@proxyjgs plugins]# ./check_nrpe -H localhost -c check_mem | xxd 0000000: 4e52 5045 3a20 556e 6162 6c65 2074 6f20 NRPE: Unable to 0000010: 7265 6164 206f 7574 7075 740a read output. [root@proxyjgs plugins]# ./memorialivre | xxd 0000000: 5741 524e 494...
- Thu Jul 24, 2014 12:07 pm
- Forum: Open Source Nagios Projects
- Topic: Problems with my own plugins
- Replies: 18
- Views: 11657
Re: Problems with my own plugins
I check with the check_nrpe in the same server that i want test. #!/bin/bash usadakb=`top -n1 | grep Mem | cut -d" " -f5 | cut -d"k" -f1` totalkb=`cat /proc/meminfo | grep MemTotal | cut -d " " -f8` a=`echo "$usadakb * 100"|bc` usada=`echo "$a / $totalkb&...
- Fri Jul 18, 2014 12:06 pm
- Forum: Open Source Nagios Projects
- Topic: Problems with my own plugins
- Replies: 18
- Views: 11657
Re: Problems with my own plugins
Yeah i test with 777 permissions and with nagios user but until have same issue. I can execute with nagios user by hand but not with nrpe: [root@proxyjgs plugins]# su nagios bash-4.1$ /usr/lib64/nagios/plugins/memorialivre WARNING - Usada: 16152320 KB 98% | Livre: 164328 KB 2% | Total: 16316648 KB b...
- Wed Jul 16, 2014 1:28 pm
- Forum: Open Source Nagios Projects
- Topic: Problems with my own plugins
- Replies: 18
- Views: 11657
Problems with my own plugins
I make a plugin who catch the memory used but without parameters and put in the folder /usr/lib64/nagios/plugins With the permission: -rwxr-xr-x 1 root root 707 Jul 16 14:43 memorialivre like: -rwxr-xr-x 1 root root 41K Out 7 2010 check_load i execute the both plugins and everything is fine: [root@p...