Historical status log not available
list Jayanta Kundu
Hi All, I am using xymon-4.2.3 in Red Hat Linux-5.5 Inside history if i want to check any particular date/time status then its giving following error: "Historical status log not available" Kindly let me know how come i resolv the problem. With Regards, Jayanta.
list Henrik Størner
▸
Den 16-03-2011 19:30, Jayanta Kundu skrev:
I am using xymon-4.2.3 in Red Hat Linux-5.5 Inside history if i want to check any particular date/time status then its giving following error: "Historical status log not available"
The logfile was probably deleted from the data/histlogs/ directory. Regards, Henrik
list Jesus Hornelas
Good afternoon It is not displaying the event history in the xymon it sends the following message Historical status log not available It is not generating the event logs, I already checked the xymon path on the server and there is no file, for some reason it is not being generated. any suggestion please !!! Regards,
list Jeremy Laidman
Jose
The event history comes from files in the histlogs directory (defined in
XYMONHISTLOGS in xymonserver.cfg). If you've removed the contents of
histlogs to clean up space, you'll see this problem, at least initially.
Files are created by the xymond_history process, launched from tasks.cfg:
$ *grep xymond_history /etc/xymon/tasks.cfg*
CMD xymond_channel --channel=stachg
--log=$XYMONSERVERLOGS/history.log *xymond_history *
--pidfile=$XYMONSERVERLOGS/xymond_history.pid
If this task/process is not running, you'll have no history. Or if the
process doesn't have permission to write to the histfile directory, you'll
also have no history. Perhaps take a look at the history.log and see if the
process it's complaining.
Cheers
Jeremy
▸
On Tue, 8 Mar 2022 at 06:32, jhornela <user-3add0ced8140@xymon.invalid> wrote:
Good afternoon It is not displaying the event history in the xymon it sends the following message Historical status log not available It is not generating the event logs, I already checked the xymon path on the server and there is no file, for some reason it is not being generated. any suggestion please !!! Regards,
list Jeremy Laidman
Also, this can happen when the filesystem is running out of space or inodes. Try running "df -h" and "df -hi" on the partition where the history logs are stored. Perhaps: xymoncmd df -h '$XYMONHISTLOGS' xymoncmd df -hi '$XYMONHISTLOGS' and look for Use% and IUse% close to 100% J
▸
On Tue, 8 Mar 2022 at 12:25, Jeremy Laidman <user-0608abae5e7c@xymon.invalid> wrote:
Jose The event history comes from files in the histlogs directory (defined in XYMONHISTLOGS in xymonserver.cfg). If you've removed the contents of histlogs to clean up space, you'll see this problem, at least initially. Files are created by the xymond_history process, launched from tasks.cfg: $ *grep xymond_history /etc/xymon/tasks.cfg* CMD xymond_channel --channel=stachg --log=$XYMONSERVERLOGS/history.log *xymond_history * --pidfile=$XYMONSERVERLOGS/xymond_history.pid If this task/process is not running, you'll have no history. Or if the process doesn't have permission to write to the histfile directory, you'll also have no history. Perhaps take a look at the history.log and see if the process it's complaining. Cheers Jeremy On Tue, 8 Mar 2022 at 06:32, jhornela <user-3add0ced8140@xymon.invalid> wrote:Good afternoon It is not displaying the event history in the xymon it sends the following message Historical status log not available It is not generating the event logs, I already checked the xymon path on the server and there is no file, for some reason it is not being generated. any suggestion please !!! Regards,
list Ralph Mitchell
I think Xymon stops keeping historical logs when the filesystem where it lives reaches 95% full. If that's the case, you'll either need to expand the filesystem, or clean out old logs. Ralph Mitchell
▸
On Mon, Mar 7, 2022 at 9:44 PM Jeremy Laidman <user-0608abae5e7c@xymon.invalid> wrote:
Also, this can happen when the filesystem is running out of space or inodes. Try running "df -h" and "df -hi" on the partition where the history logs are stored. Perhaps: xymoncmd df -h '$XYMONHISTLOGS' xymoncmd df -hi '$XYMONHISTLOGS' and look for Use% and IUse% close to 100% J On Tue, 8 Mar 2022 at 12:25, Jeremy Laidman <user-0608abae5e7c@xymon.invalid> wrote:Jose The event history comes from files in the histlogs directory (defined in XYMONHISTLOGS in xymonserver.cfg). If you've removed the contents of histlogs to clean up space, you'll see this problem, at least initially. Files are created by the xymond_history process, launched from tasks.cfg: $ *grep xymond_history /etc/xymon/tasks.cfg* CMD xymond_channel --channel=stachg --log=$XYMONSERVERLOGS/history.log *xymond_history * --pidfile=$XYMONSERVERLOGS/xymond_history.pid If this task/process is not running, you'll have no history. Or if the process doesn't have permission to write to the histfile directory, you'll also have no history. Perhaps take a look at the history.log and see if the process it's complaining. Cheers Jeremy On Tue, 8 Mar 2022 at 06:32, jhornela <user-3add0ced8140@xymon.invalid> wrote:Good afternoon It is not displaying the event history in the xymon it sends the following message Historical status log not available It is not generating the event logs, I already checked the xymon path on the server and there is no file, for some reason it is not being generated. any suggestion please !!! Regards,