Search found 8 matches
- Thu Feb 23, 2012 8:48 pm
- Forum: Open Source Nagios Projects
- Topic: No Performance Counter Displauyed in Status Information
- Replies: 6
- Views: 2439
Re: No Performance Counter Displauyed in Status Information
HI mguthrie Thank you very much. I just want to display value of queuenumx which is a variable I defined. I do not want to display the $ sign. I tried echo "OK: JMS Message Queue:$queuenumx|QueueNumber=$queuenumx" But it does not work either. The queuenumx is a number returned from sqlplus...
- Thu Feb 23, 2012 12:01 pm
- Forum: Open Source Nagios Projects
- Topic: No Performance Counter Displauyed in Status Information
- Replies: 6
- Views: 2439
Re: No Performance Counter Displauyed in Status Information
Hi Agrifin, Thank you for the reply again. I tried to login as nagios and re start nagios service. I have same problem. The Nagios can run the check command, but It can not display the variable I defined in my shell script plugin What is wrong with this echo statement. echo "OK: JMS Message Que...
- Wed Feb 22, 2012 4:07 pm
- Forum: Open Source Nagios Projects
- Topic: No Performance Counter Displauyed in Status Information
- Replies: 6
- Views: 2439
Re: No Performance Counter Displauyed in Status Information
Hi Agriffin, Thank you very much for the reply. I did changed the permission for the plugin. the owner is nagios now, but still same problem. The Nagios can run the command and just does not display the performace data I defined. It displayed other output messages. I also tried Nagios -c, but I got ...
- Wed Feb 22, 2012 9:21 am
- Forum: Open Source Nagios Projects
- Topic: Error: Could not stat() command file '/usr/local/nagios/var/
- Replies: 9
- Views: 6241
Re: Error: Could not stat() command file '/usr/local/nagios/
Hi Jsmerphy,
I use CentOS 6.2. It seems it added more oprions in the SELinux Context. I used 5.6 last year and did not need to change this option.
I use CentOS 6.2. It seems it added more oprions in the SELinux Context. I used 5.6 last year and did not need to change this option.
- Tue Feb 21, 2012 11:21 am
- Forum: Open Source Nagios Projects
- Topic: No Performance Counter Displauyed in Status Information
- Replies: 6
- Views: 2439
No Performance Counter Displauyed in Status Information
I created a shell script plugin and defined my own performance counter.But the counter is not displayed in the Nagios Status Information. CCS: check_jms_queue OK 02-21-2012 11:17:17 4d 1h 35m 22s 1/3 OK: JMS Message Queue: QueueNumber There should be a counter after JMS Message Queue: The plugin jus...
- Tue Feb 21, 2012 10:56 am
- Forum: Open Source Nagios Projects
- Topic: Error: Could not stat() command file '/usr/local/nagios/var/
- Replies: 9
- Views: 6241
Re: Error: Could not stat() command file '/usr/local/nagios/
Hi Jesmurphy,
Thank you very much for the help.
I checked etc/group and change nagios
500: to nagios
500:nagios,apache
But it did not work just after change. I had to change the SElinux Context for /usr/local/nagios/var/rw to httpd_user_rw_content_t, then it works.
Thank you very much for the help.
I checked etc/group and change nagios
But it did not work just after change. I had to change the SElinux Context for /usr/local/nagios/var/rw to httpd_user_rw_content_t, then it works.
- Fri Feb 17, 2012 5:00 pm
- Forum: Open Source Nagios Projects
- Topic: Error: Could not stat() command file '/usr/local/nagios/var/
- Replies: 9
- Views: 6241
Error: Could not stat() command file '/usr/local/nagios/var/
I tried to use Re-schedule the next check of this service, but I got Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! I searched from google and ran the following command. chown nagios.nagcmd /usr/local/nagios/var/rw chmod g+rwx /usr/local/nagios/var/rw chmod g+s /usr/loca...
- Fri Feb 17, 2012 4:26 pm
- Forum: Open Source Nagios Projects
- Topic: No output returned from plugin
- Replies: 8
- Views: 5549
Re: No output returned from plugin
I have same problem for my shell script plugin. It read a counter from oracle to check if it is in the limit. I define local variable in the script and the limit is $ARG$. If I run it in terminal, it works. but when I run it in the Nagios, it does not display the result.