Hi all.
I have a riverbed device that I'd like to monitor but there doesn't seem to be much around doing this. I've done the following thus far...
-Used the monitoring wizard (generic network device type) to add the riverbed device
-Set up the check command $USER1$/check_riverbed_status-0.0.1 -H $HOSTADDRESS$ -c public -p $ARG1$
-Tried the command on the device that was set up in the first bullet point
Nothing got returned other than an error 126 saying that the plugin may not be installed. Does anyone have tips/experience on this topic and how I can be successful in this task?
Monitoring a Riverbed device
-
cwscribner
- Posts: 316
- Joined: Thu Mar 31, 2011 9:54 am
- Location: Patten, ME
- Contact:
Re: Monitoring a Riverbed device
Before you set it up in Nagios, let's try to get it working from the command line. Open a terminal and run 'cd /usr/local/nagios/libexec; ./check_riverbed_status-0.0.1 -H <hostaddr> -c public -p <whatever else should go here>', replacing the stuff in angled brackets with the appropriate content (if you don't know what should go there, run './check_riverbed_status-0.0.1 -h' and read the help output). What's the output of this command?
-
cwscribner
- Posts: 316
- Joined: Thu Mar 31, 2011 9:54 am
- Location: Patten, ME
- Contact:
Re: Monitoring a Riverbed device
Figured out part of the problem...the shebang line needed to be changed from /usr/local/bin/perl to /usr/bin/perl. I ran ./check_riverbed_status-0.0.1 -H [IP] but it said it didn't get an SNMP response from the host so that means SNMP must need to be enabled?
Re: Monitoring a Riverbed device
Yes you will need to make snmpd is on, and if its not installed you'll need to install it. You'll also need the Net::SNMP and Error perl modules. Another thing to make sure is that port 161 and 162 are open on your firewall.
Code: Select all
yum install net-snmp-perl net-snmp perl-Net-SNMP* perl-Error -yNicholas Scott
Former Nagios employee
Former Nagios employee