Hey Gents, on my development Nagios XI box I stopped receiving test alerts. This is not a big deal so I want to understand a solution in the event the same thing happens on my Prod box. I stopped receiving alerts because my postfix mailbox went past the default 5mb file size. I realize I can just change the default size which I did just to humor the solution. That being said, why is the is this mailbox so large compared to my prod-xi box, and what is the long term solution because as we all know throwing more space is not it? Look below, at the examples but I have left my prod box at defaults for years with no issues.
First thing I would do is run the "mail" command on both machines and see what kind of messages each machine is receiving. The configs may differ and it could be host or service check or something else configured on the dev machine sending mail to the root account.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
We were just looking for the types of emails that each machine is receiving. Based on the output provided, the dev box looks to have problems with the mrtg config. Follow https://support.nagios.com/forum/viewto ... =6&t=35354 for steps to disable the mails as well as check the mrtg config.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Thanks for that reference. I was doing a quick read through and ran it to the last post about checking the mrtg.cfg and when I check mine I get this output. I cannot find any reference to the 10.10.99.1 address anywhere.
[root@raptor-nagios ~]# LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
SNMPGET Problem for ifHCInOctets.210 ifHCOutOctets.210 on [email protected]:161::::2:v4only: No response from remote host "10.10.99.1" at /usr/bin/../lib/mrtg2/Net_SNMP_util.pm line 594.
Net_SNMP_util::snmpget('[email protected]:161::::2:v4only', 'HASH(0x1fed5c8)', 'ifHCInOctets.210', 'ifHCOutOctets.210') called at /usr/bin/mrtg line 2330
main::getsnmparg('HASH(0x15b71e8)', 'HASH(0x1fee1b0)', 'HASH(0x14a0ca8)', 'HASH(0x1944ae8)') called at /usr/bin/mrtg line 2510
main::readtargets('HASH(0x15b71e8)', 'ARRAY(0x1638270)', 'HASH(0x14a0ca8)') called at /usr/bin/mrtg line 403
main::main called at /usr/bin/mrtg line 143
2018-11-12 14:03:00: WARNING: skipping because at least the query for ifHCInOctets.210 on 10.10.99.1 did not succeed
2018-11-12 14:03:00: WARNING: no data for ifHCInOctets&ifHCOutOctets:[email protected]. Skipping further queries for Host 10.10.99.1 in this round.
SNMPGET Problem for ifInOctets.395 ifOutOctets.395 on [email protected]:161::::2:v4only: No response from remote host "10.10.99.1" at /usr/bin/../lib/mrtg2/Net_SNMP_util.pm line 594.
Net_SNMP_util::snmpget('[email protected]:161::::2:v4only', 'HASH(0x20a0f68)', 'ifInOctets.395', 'ifOutOctets.395') called at /usr/bin/mrtg line 2330
main::getsnmparg('HASH(0x15b71e8)', 'HASH(0x20a4ac8)', 'HASH(0x14a0ca8)', 'HASH(0x1944ae8)') called at /usr/bin/mrtg line 2510
main::readtargets('HASH(0x15b71e8)', 'ARRAY(0x1638270)', 'HASH(0x14a0ca8)') called at /usr/bin/mrtg line 403
main::main called at /usr/bin/mrtg line 143
2018-11-12 14:03:00: WARNING: skipping because at least the query for ifInOctets.395 on 10.10.99.1 did not succeed
2018-11-12 14:03:00: WARNING: no data for ifInOctets&ifOutOctets:[email protected]. Skipping further queries for Host 10.10.99.1 in this round.
SNMPGET Problem for ifHCInOctets.1 ifHCOutOctets.1 on [email protected]:161::::2:v4only: No response from remote host "10.10.99.1" at /usr/bin/../lib/mrtg2/Net_SNMP_util.pm line 594.
Net_SNMP_util::snmpget('[email protected]:161::::2:v4only', 'HASH(0x1f4b478)', 'ifHCInOctets.1', 'ifHCOutOctets.1') called at /usr/bin/mrtg line 2330
main::getsnmparg('HASH(0x15b71e8)', 'HASH(0x1f4c060)', 'HASH(0x14a0ca8)', 'HASH(0x1944ae8)') called at /usr/bin/mrtg line 2510
main::readtargets('HASH(0x15b71e8)', 'ARRAY(0x1638270)', 'HASH(0x14a0ca8)') called at /usr/bin/mrtg line 403
main::main called at /usr/bin/mrtg line 143
2018-11-12 14:03:00: WARNING: skipping because at least the query for ifHCInOctets.1 on 10.10.99.1 did not succeed
2018-11-12 14:03:00: WARNING: no data for ifHCInOctets&ifHCOutOctets:[email protected]. Skipping further queries for Host 10.10.99.1 in this round.
2018-11-12 14:03:11: ERROR: Target[10.10.99.1_1][_IN_] ' $target->[199]{$mode} ' did not eval into defined data
2018-11-12 14:03:11: ERROR: Target[10.10.99.1_1][_OUT_] ' $target->[199]{$mode} ' did not eval into defined data
Thank you for the fix. Deleted the corresponding file with the 10.10.99.1 address and all is well. Checked my mail file and it is down to regular size.