Thanks for response.
Please lock this thread.
Search found 28 matches
- Mon Feb 26, 2018 4:24 am
- Forum: Open Source Nagios Projects
- Topic: Ploting value derived from previous and current counters
- Replies: 2
- Views: 1188
- Fri Feb 23, 2018 5:06 am
- Forum: Open Source Nagios Projects
- Topic: Unable to execute a application specific cmd using check_nrp
- Replies: 35
- Views: 22382
Re: Unable to execute a application specific cmd using check
Thanks every one for your efforts and support. Please lock this thread.
- Thu Feb 22, 2018 10:48 am
- Forum: Open Source Nagios Projects
- Topic: Ploting value derived from previous and current counters
- Replies: 2
- Views: 1188
Ploting value derived from previous and current counters
Hi Guys, Need an Idea to plot a PNP4Nagios graph for below requirement. I am going to use one check script which actually going to collect values(i.e. SNMP counters without using snmp checks from nagios server). How to configure PNP4nagios, to plot graph with value which is actually a difference of ...
- Sat May 06, 2017 1:03 am
- Forum: Open Source Nagios Projects
- Topic: Unable to execute a application specific cmd using check_nrp
- Replies: 35
- Views: 22382
Re: Unable to execute a application specific cmd using check
&>/dev/null works!!!!! Till this time sed command was like this MsgRate=`/bin/cat /tmp/watchqueue_1.txt | /bin/grep 'Total UDP Messages' | /bin/awk '{print $9}' | /bin/sed 's/(//g'` Then I have added suggested sed command MsgRate=`/bin/cat /tmp/watchqueue_1.txt | /bin/grep 'Total UDP Messages' ...
- Fri May 05, 2017 5:11 am
- Forum: Open Source Nagios Projects
- Topic: Unable to execute a application specific cmd using check_nrp
- Replies: 35
- Views: 22382
Re: Unable to execute a application specific cmd using check
Current code as per your advice: #!/bin/bash EPOC1=`/bin/date +%s` sudo /<Path to cmd>/watchqueue 1 EPOC2=`/bin/cat /tmp/watchqueue_1.txt | /bin/grep shm | /usr/bin/head -1 | /bin/awk '{print $7}' | /bin/sed 's/(//g;s/)//g'1` if [ "$EPOC2" -ge "$EPOC1" ] then #MsgRate=`/bin/cat /...
- Thu May 04, 2017 4:06 am
- Forum: Open Source Nagios Projects
- Topic: Unable to execute a application specific cmd using check_nrp
- Replies: 35
- Views: 22382
Re: Unable to execute a application specific cmd using check
No Luck!!!!
Attaching strace output for same. Can you please help me to understand why performance data is not processing?
Attaching strace output for same. Can you please help me to understand why performance data is not processing?
- Wed May 03, 2017 1:40 am
- Forum: Open Source Nagios Projects
- Topic: Unable to execute a application specific cmd using check_nrp
- Replies: 35
- Views: 22382
Re: Unable to execute a application specific cmd using check
Hi, Sorry for delay response as I was away from system. I am no good with C, but how much I learn by seeing source code. I made below changes check_by_ssh.c case 'z': /* -4 for IPv4 */ comm_append("-tt"); break; then make make all make install output from cli: [nagios@Nagiosserver ~]$ /usr...
- Mon May 01, 2017 8:34 pm
- Forum: Open Source Nagios Projects
- Topic: Unable to execute a application specific cmd using check_nrp
- Replies: 35
- Views: 22382
Re: Unable to execute a application specific cmd using check
My 1st preference was nrpe, if that is not working then check_by_ssh.
Currently I have deployed check using check_by_ssh.
Results already shared on my previous post on this thread. Check_by_ssh is also not working while used from nagios, but working fine while used from cli.
Currently I have deployed check using check_by_ssh.
Results already shared on my previous post on this thread. Check_by_ssh is also not working while used from nagios, but working fine while used from cli.
- Mon May 01, 2017 1:49 pm
- Forum: Open Source Nagios Projects
- Topic: Unable to execute a application specific cmd using check_nrp
- Replies: 35
- Views: 22382
Re: Unable to execute a application specific cmd using check
Thanks tgriep for your responses and valuable time. If some one want, I would like a second opinion on check_by_ssh plugin. After so much discussions, I am still at day 1 situation and need some way to figure out the Solution. As default check_by_ssh plugin do not have feature to forcing a tty sessi...
- Mon May 01, 2017 12:19 pm
- Forum: Open Source Nagios Projects
- Topic: Unable to execute a application specific cmd using check_nrp
- Replies: 35
- Views: 22382
Re: Unable to execute a application specific cmd using check
Changing command to not use terminal is not possible. As while command is architect to be run on different shell prompt and execute commands on that prompt then get the output. Anyhow it's depend upon application owner to raise it further. What if I give nagios user to open a terminal which command ...