Page 1 of 1
SMTP - after debian ugprade stops working
Posted: Mon Sep 09, 2019 8:42 am
by Shwele
Hi guys,
Didn't have issues in a while, but seems like I got huge problem at my end. SMTP and SMTPD packages got released on Debian. I updated them and everything broke. By the time I fished with all servers that day, it was over. Had to ack them over the weekend due that servers were ok at time and hoped nothing would outbreak. Anyhow...
Namely here is list of packages I updated at that point of time:
https://imgur.com/a/qyl2Vkr
Errors I'm getting are for Memory, DIsk and Swap (namely memory checks). Status information is:
Code: Select all
ERROR: Description/Type table : The requested table is empty or does not exist.
I tried re-enabling SMTPv3 with documentation I used before and it still didn't budge.
This is the one:
https://assets.nagios.com/downloads/nag ... g-SNMP.pdf
I'm sorry if this is double post.
Thanks in advance to all that help.
Re: SMTP - after debian ugprade stops working
Posted: Mon Sep 09, 2019 12:25 pm
by mbellerue
Can you show us one of the commands that is failing? Also what OS and version of Nagios is this?
Re: SMTP - after debian ugprade stops working
Posted: Tue Sep 10, 2019 9:14 am
by Shwele
mbellerue wrote:Can you show us one of the commands that is failing? Also what OS and version of Nagios is this?
OS of Nagios machine is newest Centos, all other servers are Ubuntu 16.04.
Nagios version is: 5.6.2
Only SMTP checks are failing, the ones I mentioned.
Check
Code: Select all
check_xi_service_smtp_linux storage
Command
Code: Select all
$USER1$/check_snmp_storage_wizard.pl -H $HOSTADDRESS$ $ARG1$
ARG1
Disk
Code: Select all
--login=nagios --passwd=PASS--privpass=PRIV--protocols=sha,aes -m "^/$" -w 85 -c 95 -f
swap
Code: Select all
--login=nagios --passwd=PASS--privpass=PRIV--protocols=sha,aes -m 'Swap' -w 80 -c 90 -f
RAM
Code: Select all
--login=nagios --passwd=PASS--privpass=PRIV--protocols=sha,aes -m 'Virtual ' -w 80 -c 90 -f
Re: SMTP - after debian ugprade stops working
Posted: Tue Sep 10, 2019 2:14 pm
by mbellerue
Is the Check Command actually "check_xi_service_smpt" ? SMPT is different from SNMP, though they're often confused because the acronyms are so similar. Make sure that the Check Command is using the right check_xi_service_snmp_ command.
Otherwise the only thing I would change would be to add spaces between your command line arguments.
Here's what you have
Code: Select all
--login=nagios --passwd=PASS--privpass=PRIV--protocols=sha,aes -m "^/$" -w 85 -c 95 -f
Here's what I would make it
Code: Select all
--login=nagios --passwd=PASS --privpass=PRIV --protocols=sha,aes -m "^/$" -w 85 -c 95 -f
Re: SMTP - after debian ugprade stops working
Posted: Wed Sep 11, 2019 5:03 am
by Shwele
mbellerue wrote:Is the Check Command actually "check_xi_service_smpt" ? SMPT is different from SNMP, though they're often confused because the acronyms are so similar. Make sure that the Check Command is using the right check_xi_service_snmp_ command.
Otherwise the only thing I would change would be to add spaces between your command line arguments.
Here's what you have
Code: Select all
--login=nagios --passwd=PASS--privpass=PRIV--protocols=sha,aes -m "^/$" -w 85 -c 95 -f
Here's what I would make it
Code: Select all
--login=nagios --passwd=PASS --privpass=PRIV --protocols=sha,aes -m "^/$" -w 85 -c 95 -f
Think not, it is the actual command we have been using until recent update of SMTP caused this issue. I think I used localhost server and cloned all basic services and checks.
Here is the output from check_xi_service_smpt:
Code: Select all
Usage:
check_smtp -H host [-p port] [-4|-6] [-e expect] [-C command] [-R response] [-f from addr]
[-A authtype -U authuser -P authpass] [-w warn] [-c crit] [-t timeout] [-q]
[-F fqdn] [-S] [-L] [-D warn days cert expire[,crit days cert expire]] [-v]
As for lack of space on command, that was a typo at my end here when I censored passwords, command is alright on server side.
Re: SMTP - after debian ugprade stops working
Posted: Wed Sep 11, 2019 1:50 pm
by mbellerue
Could you PM me your System Profile? Admin -> System Profile -> Download Profile
Re: SMTP - after debian ugprade stops working
Posted: Fri Sep 13, 2019 3:18 am
by Shwele
mbellerue wrote:Could you PM me your System Profile? Admin -> System Profile -> Download Profile
Sent you a pm yesterday.
Sadly Im going on short vacation and due that we didn't resolve this its gonna probably stay like this until you hear from me on 23rd.
Let me know if there is a fix to this if profile is all you needed.
Re: SMTP - after debian ugprade stops working
Posted: Fri Sep 13, 2019 3:41 am
by Shwele
Ok seems like issue was on debian package end. Today they released new versions and security releases for following:
Code: Select all
libexpat1 libexpat1-dev libsnmp-base libsnmp-dev libsnmp30 snmp snmpd
After the upgrade I did recheck and it seems that its fixed, checks are working as intended.
Seems like it was SNMP as you said, not SMTP as I thought that it was. You can close the topic as the issue is resolved.
Re: SMTP - after debian ugprade stops working
Posted: Fri Sep 13, 2019 7:01 am
by scottwilkerson
Shwele wrote:Ok seems like issue was on debian package end. Today they released new versions and security releases for following:
Code: Select all
libexpat1 libexpat1-dev libsnmp-base libsnmp-dev libsnmp30 snmp snmpd
After the upgrade I did recheck and it seems that its fixed, checks are working as intended.
Seems like it was SNMP as you said, not SMTP as I thought that it was. You can close the topic as the issue is resolved.
Great!
Locking