Hello,
+++++++++++++++++++++++++++++++++++++++++++++++++++
echo "select * from nagios_notifications where start_time between '2020-10-01' and '2020-10-31' limit 10;" | mysql -uroot -p -Dnagios Enter password:
notification_id instance_id notification_type notification_reason object_id start_time start_time_usec end_time
end_time_usecstate output long_output escalated contacts_notified
1757610 1 1 0 14666 2020-10-22 17:20:33 3635 2020-10-22 17:20:33 57 2 (No output on stdout) stderr: connect to address 10.35.40.113 port 5666: No route to host (No output on stdout) stderr: connect to address 10.35.40.113 port 5666: No route to host 0 2
1757611 1 1 0 8769 2020-10-22 17:21:34 317622 2020-10-22 17:21:34 317687 3 NRPE: Unable to read output NRPE: Unable to read output 0 0
1757612 1 1 0 14994 2020-10-22 17:21:35 324557 2020-10-22 17:21:35 324606 2 /ifs: 944%used(13062777MB/1384189MB) (>95%) : CRITICAL /ifs: 944%used(13062777MB/1384189MB) (>95%) : CRITICAL 0 0
1757613 1 1 0 16011 2020-10-22 17:22:27 694134 2020-10-22 17:22:27 694189 2 CRITICAL: Datastore 'ddsda' {Free Space: 822.9 GB} {Free Space: 9% (CRITICAL <= 10)} {Used Space: 9,417.1 GB} {Used Space: 91%} {Capacity: 10,240 GB} CRITICAL: Datastore 'ddsda' {Free Space: 822.9 GB} {Free Space: 9% (CRITICAL <= 10)} {Used Space: 9,417.1 GB} {Used Space: 91%} {Capacity: 10,240 GB} 0 0
1757614 1 1 0 16012 2020-10-22 17:22:39 810669 2020-10-22 17:22:39 810697 2 CRITICAL: Datastore 'ddsda' {Free Space: 683.9 GB} {Free Space: 5% (CRITICAL <= 10)} {Used Space: 14,676.1 GB} {Used Space: 95%} {Capacity: 15,360 GB} CRITICAL: Datastore 'ddsda' {Free Space: 683.9 GB} {Free Space: 5% (CRITICAL <= 10)} {Used Space: 14,676.1 GB} {Used Space: 95%} {Capacity: 15,360 GB} 0 0
1757615 1 0 0 11402 2020-10-22 17:22:49 234448 2020-10-22 17:22:49 234499 1 CRITICAL - 10.33.40.196: rta nan, lost 100% CRITICAL - 10.33.40.196: rta nan, lost 100% 0 0
1757616 1 1 0 14992 2020-10-22 17:23:06 681652 2020-10-22 17:23:06 681704 2 Physical memory: 96%used(11793MB/12263MB) (>95%) : CRITICAL Physical memory: 96%used(11793MB/12263MB) (>95%) : CRITICAL 0 0
1757617 1 1 0 712 2020-10-22 17:23:22 568210 2020-10-22 17:23:22 568280 1 DRBD WARNING: Device 0 StandAlone UpToDate DRBD WARNING: Device 0 StandAlone UpToDate 0 0
1757618 1 1 0 11314 2020-10-22 17:23:40 953542 2020-10-22 17:23:40 961139 0 OK - Current BW in: 25.47Mbps Out: 2.19Mbps OK - Current BW in: 25.47Mbps Out: 2.19Mbps 0 13
1757619 1 1 0 4659 2020-10-22 17:24:40 638306 2020-10-22 17:24:40 643953 3 UNKNOWN: Error connecting to server at '
https://ddsda/sdk/webService': Perhaps host is not a vCenter or ESX server UNKNOWN: Error connecting to server at '
https://ddsda/sdk/webService': Perhaps host is not a vCenter or ESX server 0 11
+++++++++++++++++++++++++++++++++++++++++++++++++++
I can see only less than 10 items after running these command, So there is no any data for the september right, IS there any way to know how the data is purged for September, To prevent these happening in future.