Search found 10 matches
- Fri Jul 01, 2016 9:05 pm
- Forum: Open Source Nagios Projects
- Topic: bandwidth monitoring and no output from plugin
- Replies: 3
- Views: 1692
Re: bandwidth monitoring and no output from plugin
Thankyou Box293, sometimes, the output is correct as below: Canh bao! Bang thong input tren: e0/1/1 : cao qua, co the dang nghen duong truyen, lien he to GPON de tro giup Bang thong tren cong e0/1/1 luc nay la: Output bandwidth: 133854 Kbps Input bandwidth: 4638 Kbps But sometimes : Timeout: No Resp...
- Thu Jun 30, 2016 11:53 pm
- Forum: Open Source Nagios Projects
- Topic: bandwidth monitoring and no output from plugin
- Replies: 3
- Views: 1692
bandwidth monitoring and no output from plugin
Hi all, I wrote this script to check bandwidth of network devices's interface. I run it from command line successfully, the output is perfect, but when I add the scipt on nagios as a service, some time I receive this alert: no output from plugin with the UNKNOW state of the service. this cause of ma...
- Fri Oct 03, 2014 4:14 am
- Forum: Open Source Nagios Projects
- Topic: Different result in web interface and command line
- Replies: 14
- Views: 8983
Re: Different result in web interface and command line
If you are the original poster, you *should* be able to edit your post on the Nagios Exchange. Can you provide us with a link to the plugin? If you are not able to modify the listing, we can probably do it for you. Let me know if you need help with that. Thanks lmiltchev, I'll edit it myself , but,...
- Sun Sep 21, 2014 3:45 am
- Forum: Open Source Nagios Projects
- Topic: Different result in web interface and command line
- Replies: 14
- Views: 8983
Re: Different result in web interface and command line
Thanks you all, I've fixxed the problem. I when I investigated the promblem come from expect plugin. U know, when I run expect plugin as nagios user, It gave me the wrong promblem, so I remove some "|" part in the show command that is spawn to destination routers. And it work. Here is what...
- Wed Sep 17, 2014 4:36 am
- Forum: Open Source Nagios Projects
- Topic: Different result in web interface and command line
- Replies: 14
- Views: 8983
Re: Different result in web interface and command line
I think the problem comes from this line: export pf2=`echo $(/usr/bin/expect /usr/local/nagios/libexec/plugins/get_bgp_$sysinfo $HOSTNAME | grep "Active" | awk '{print "\47" $1 "\47, "}') | sed 's/,*$//'` I've tried this: if [ "$LS" == "physical" ]; ...
- Tue Sep 16, 2014 3:17 am
- Forum: Open Source Nagios Projects
- Topic: Different result in web interface and command line
- Replies: 14
- Views: 8983
Re: Different result in web interface and command line
Thank abrist, When I run as root: [root@monitor-network ~]# su - nagios -c "echo $(/usr/bin/expect /usr/local/nagios/libexec/plugins/get_bgp_ls_Juniper 119.18.185.2 | grep Active | awk '{print "\47" $1 "\47, "}' ) | sed 's/,*$//'" 202.40.160.151, -bash: line 1: 202.40.1...
- Wed Sep 10, 2014 11:50 pm
- Forum: Open Source Nagios Projects
- Topic: Different result in web interface and command line
- Replies: 14
- Views: 8983
Re: Different result in web interface and command line
Please attach your plugin, you also need to execute it like this: ./pluginname If you are currently residing in it's directory. Also, the reason nobody had replied yet is you responded will outside of our business hours, 9:00AM-5:00PM CDT, just for future reference :). Thanks slansing. Herre is my ...
- Wed Sep 10, 2014 4:00 am
- Forum: Open Source Nagios Projects
- Topic: Different result in web interface and command line
- Replies: 14
- Views: 8983
Re: Different result in web interface and command line
Can anyone help me plz?
- Tue Sep 09, 2014 11:15 pm
- Forum: Open Source Nagios Projects
- Topic: Different result in web interface and command line
- Replies: 14
- Views: 8983
Re: Different result in web interface and command line
Thanks lmiltchev
In CLI, I get Critical result, but in Web, I get OK result
In CLI, I get Critical result, but in Web, I get OK result
- Sun Jun 22, 2014 11:02 am
- Forum: Open Source Nagios Projects
- Topic: Different result in web interface and command line
- Replies: 14
- Views: 8983
Different result in web interface and command line
Hi all, I've write a plugin to check the bgp session, but it might be get in troubles. The output when running check command directly from command line is expectable (service status is CRITICAL), but the result from web interface is not ( service status is OK). Pls help me solve this, I've tried for...