barracuda firmware update broke nagios check
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
barracuda firmware update broke nagios check
I updated the firmware on my barracuda v400 and now the check are no longer working.
this is one of the checks, getting no response, i tried to run it from the cli, but i am not familiar with linux
check_xi_service_snmp! -o enterprises.20632.2.49 -C whro-ro -P 2c -l "Rate Controlled Emails" -u "Deffered Email" -m SNMPv2-SMI -w 50 -c 100!!!!!!!
this is one of the checks, getting no response, i tried to run it from the cli, but i am not familiar with linux
check_xi_service_snmp! -o enterprises.20632.2.49 -C whro-ro -P 2c -l "Rate Controlled Emails" -u "Deffered Email" -m SNMPv2-SMI -w 50 -c 100!!!!!!!
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: barracuda firmware update broke nagios check
What is the error you are receiving from the Nagios XI server's web UI? If need be, we can format that check correctly for you to run it from the command line, currently, that is the service's command definition which will differ from that of the way it must be run on the command line.
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: barracuda firmware update broke nagios check
I am recieving this
Rate Controlled Emails problem - No data received from host
CMD: /usr/bin/snmpget -t 1 -r 5 -m SNMPv2-SMI -v 2c [authpriv] 64.5.129.4:161 enterprises.20632.2.
Rate Controlled Emails problem - No data received from host
CMD: /usr/bin/snmpget -t 1 -r 5 -m SNMPv2-SMI -v 2c [authpriv] 64.5.129.4:161 enterprises.20632.2.
Re: barracuda firmware update broke nagios check
In addition, can you run the following commands in the command line, and show us the output?
Code: Select all
cd /usr/local/nagios/libexec
./check_snmp -H <hostname> -o enterprises.20632.2.49 -C whro-ro -P 2c -l "Rate Controlled Emails" -u "Deffered Email" -m SNMPv2-SMI -w 50 -c 100Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: barracuda firmware update broke nagios check
[authpriv] implies you are using SNMP v3, but in your check you have "-P 2c". Which one are you actually using?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: barracuda firmware update broke nagios check
Rate Controlled Emails problem - No data received from host
CMD: /usr/bin/snmpget -t 1 -r 5 -m SNMPv2-SMI -v 2c [authpriv] 64.5.129.4:161 enterprises.20632.2.49
[root@nagios libexec]#
CMD: /usr/bin/snmpget -t 1 -r 5 -m SNMPv2-SMI -v 2c [authpriv] 64.5.129.4:161 enterprises.20632.2.49
[root@nagios libexec]#
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: barracuda firmware update broke nagios check
i can use either, but this was/has been working for the last year until i updated the firmware on the barracuda this morning.
Re: barracuda firmware update broke nagios check
Check your barracuda settings. There should be a way to select which protocol to use (SNMP v2c or 3). Change it to 2c. If you must use v3, you will have to add more flags to your check: "--seclevel=authPriv", "--secname=", "--privpasswd=", etc.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: barracuda firmware update broke nagios check
It was a setting in the barracuda. The firmware took out the ip address for the nagios, allowing it to check using snmp.
Put the IP address back in and works like a champ.
Thank you
Put the IP address back in and works like a champ.
Thank you
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: barracuda firmware update broke nagios check
Ah excellent! Thanks for letting us know the resolution.