Search found 40 matches
- Tue Jun 26, 2018 3:00 pm
- Forum: Open Source Nagios Projects
- Topic: plugins, variables and nrpe
- Replies: 9
- Views: 5054
Re: plugins, variables and nrpe
I could find no logic into why NRPE was roadblocking me and I'd spent enough time on it. I ended up splitting the process into two scripts; one on the server to call the script on the remote source host and the actual command on the source host that does the work. It's not that much more overhead an...
- Tue Jun 26, 2018 8:45 am
- Forum: Open Source Nagios Projects
- Topic: plugins, variables and nrpe
- Replies: 9
- Views: 5054
Re: plugins, variables and nrpe
Yeah, my comment was out of place for that. The iperf command requires something to connect to (the destination). This is what those lines should look like; #Start iperf3 as a daemon on $target for one connection only /bin/ssh $target /usr/bin/iperf3 -s -D -1 And agreed. I'm not sure why nrpe is stu...
- Mon Jun 25, 2018 3:07 pm
- Forum: Open Source Nagios Projects
- Topic: plugins, variables and nrpe
- Replies: 9
- Views: 5054
Re: plugins, variables and nrpe
Why not? If nothing else it's as heinous a hack as anyone here will ever see. It requires iperf3 on source and target and passwordless ssh for the nagios user from the source to the target. I'm willing to to learn a better way. Eventually I'd use command parameters, but I'm still in "make it wo...
- Mon Jun 25, 2018 2:24 pm
- Forum: Open Source Nagios Projects
- Topic: plugins, variables and nrpe
- Replies: 9
- Views: 5054
Re: plugins, variables and nrpe
Thanks Scott. I've made sure the full path to iperf3 (/usr/bin/iperf3) has been called out in the script and I'm still not getting results. Looking a little deeper I was able to find something that helped. By redirecting output I get a little better view into what's going on; command[check_iperf]=/u...
- Fri Jun 22, 2018 5:05 pm
- Forum: Open Source Nagios Projects
- Topic: plugins, variables and nrpe
- Replies: 9
- Views: 5054
plugins, variables and nrpe
Hi, I'm revisiting my bandwidth monitoring plugin. I'm using iperf3 in a client server configuration that's working well in it's first iteration, but this next phase is giving me fits. My problem is that while the script works from source to destination from the source host; /usr/local/nagios/libexe...
- Thu Mar 22, 2018 11:08 am
- Forum: Open Source Nagios Projects
- Topic: Can't disable notifications (cli)
- Replies: 6
- Views: 3259
Re: Can't disable notifications (cli)
Sorry for the late response, we've had some things pop up. Thanks for this (and the links, I was permitted to see at least one of them), it helps some. As far as status.dat goes, that seems to be deleted when the nagios service is stopped although retention remains. Re-setting the entire inventory d...
- Tue Mar 20, 2018 9:13 am
- Forum: Open Source Nagios Projects
- Topic: Can't disable notifications (cli)
- Replies: 6
- Views: 3259
Re: Can't disable notifications (cli)
Thanks. Here's the output you requested; https://pastebin.com/hU5MLbNp Here's the config for the host; https://pastebin.com/0waN5dEn Sorry, I wasn't clear. This fails pre-flight; notifications_enabled=0 These pass pre-flight, but have no effect; notifications_enabled = 0 notifications_enabled 0 I st...
- Mon Mar 19, 2018 2:55 pm
- Forum: Open Source Nagios Projects
- Topic: Can't disable notifications (cli)
- Replies: 6
- Views: 3259
Can't disable notifications (cli)
This is so simple I'm confused as to why it doesn't work (core 4.1.1 centos 6.6). I've tried at the host level; define host{ use linux-box host_name blackduck alias BlackDuck address x.x.x.x ; IP address of the server hostgroups release-build-systems notifications_enabled 0 } and I've tried at the s...
- Wed Mar 14, 2018 1:27 pm
- Forum: Open Source Nagios Projects
- Topic: Bandwidth test and No output returned from plugin
- Replies: 5
- Views: 2817
Re: Bandwidth test and No output returned from plugin
Yes, I have the latest but rather than try to fix his I'll just write my own. Thanks for the help, if I get stuck I'll create another issue.
R
R
- Mon Mar 12, 2018 9:30 am
- Forum: Open Source Nagios Projects
- Topic: Bandwidth test and No output returned from plugin
- Replies: 5
- Views: 2817
Re: Bandwidth test and No output returned from plugin
Thanks for your reply. So yeah, running under nagios was a non-starter and I ended up fixing that, but I still have the same situation. The script runs well as nagios user, but the "No output" message remains in the gui with no stats collected. [nagios@engmon ~]$ /usr/local/nagios/libexec/...