Cisco Monitoring – Bandwidth services returns failure errors
Posted: Fri Feb 24, 2012 10:31 am
Hello,
I used the Network Switch / Router monitoring wizard to setup services for measuring bandwidth on my Cisco ASA (the ping service is working). I have several services configured to capture bandwidth from the ASA's various interfaces. The error I show is: (Return code of 126 is out of bounds - plugin may not be executable)
I need some assistance with getting this to work. Here are some of my configuration parameters for the service.
Here is the Command View of the service for one of my ASA interfaces:
$USER1$/check_rrdtraf -f /var/lib/mrtg/$ARG1$ -w $ARG2$ -c $ARG3$ -l $ARG4$
$ARG1$ = 172.17.1.1_2.rrd
$ARG2$ = 25,25
$ARG3$ = 50,50
$ARG4$ = M
Additional Templates:
xiwizard_switch_port_bandwidth_service
(command view and ARG fields are all blank)
Service Template xiwizard_switch_port_bandwidth_service uses Additional Template:
xiwizard_generic_service
Command View: $USER1$/check_dummy 0 "Nothing to monitor"
No ARG are defined.
I’ve verified that net-snmp-utils, net-snmp, and net-snmp-libs are present on my O/S Cent 6.2. The SnapShot manager showed an error after I ran the wizard. This file didn’t help me any though, it basically said - One or more problems was encountered while running the pre-flight check...Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. – But I didn’t upgrade. The SnapShot files that follow the one that reported this problem all show clean, with no errors to indicate why the snmp services aren’t working.
Kindly let me know if you can help!
Thanks,
Jason
I used the Network Switch / Router monitoring wizard to setup services for measuring bandwidth on my Cisco ASA (the ping service is working). I have several services configured to capture bandwidth from the ASA's various interfaces. The error I show is: (Return code of 126 is out of bounds - plugin may not be executable)
I need some assistance with getting this to work. Here are some of my configuration parameters for the service.
Here is the Command View of the service for one of my ASA interfaces:
$USER1$/check_rrdtraf -f /var/lib/mrtg/$ARG1$ -w $ARG2$ -c $ARG3$ -l $ARG4$
$ARG1$ = 172.17.1.1_2.rrd
$ARG2$ = 25,25
$ARG3$ = 50,50
$ARG4$ = M
Additional Templates:
xiwizard_switch_port_bandwidth_service
(command view and ARG fields are all blank)
Service Template xiwizard_switch_port_bandwidth_service uses Additional Template:
xiwizard_generic_service
Command View: $USER1$/check_dummy 0 "Nothing to monitor"
No ARG are defined.
I’ve verified that net-snmp-utils, net-snmp, and net-snmp-libs are present on my O/S Cent 6.2. The SnapShot manager showed an error after I ran the wizard. This file didn’t help me any though, it basically said - One or more problems was encountered while running the pre-flight check...Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. – But I didn’t upgrade. The SnapShot files that follow the one that reported this problem all show clean, with no errors to indicate why the snmp services aren’t working.
Kindly let me know if you can help!
Thanks,
Jason