SMTP - after debian ugprade stops working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
Shwele
Posts: 47
Joined: Tue Oct 03, 2017 3:00 am

SMTP - after debian ugprade stops working

Post 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.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: SMTP - after debian ugprade stops working

Post by mbellerue »

Can you show us one of the commands that is failing? Also what OS and version of Nagios is this?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
Shwele
Posts: 47
Joined: Tue Oct 03, 2017 3:00 am

Re: SMTP - after debian ugprade stops working

Post 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
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: SMTP - after debian ugprade stops working

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
Shwele
Posts: 47
Joined: Tue Oct 03, 2017 3:00 am

Re: SMTP - after debian ugprade stops working

Post 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.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: SMTP - after debian ugprade stops working

Post by mbellerue »

Could you PM me your System Profile? Admin -> System Profile -> Download Profile
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
Shwele
Posts: 47
Joined: Tue Oct 03, 2017 3:00 am

Re: SMTP - after debian ugprade stops working

Post 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.
User avatar
Shwele
Posts: 47
Joined: Tue Oct 03, 2017 3:00 am

Re: SMTP - after debian ugprade stops working

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: SMTP - after debian ugprade stops working

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked