Pre_freeze / post_traw script Nutanix for Nagios VM for application consistent snapshot

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
HunkelerA
Posts: 2
Joined: Thu Nov 09, 2023 9:17 am

Pre_freeze / post_traw script Nutanix for Nagios VM for application consistent snapshot

Post by HunkelerA »

Dear forum,

I have a Nagios XI VM on Nutanix with Nutanix Guest Tools installed and VSS enabled. Despite of that, I receive a warning that it does not possible to take application-consistent snapshot, because it misses the pre_freeze / post_thraw script.

I googled it, but I did not find any scripts samples for Nagios XI. Can you provide me a link with these scripts? Or provide me samples please?

Nagios Core version : 4.4.10

If you need other information, do not hesitate to write me.

Best regards,

HunkelerA
danderson

Re: Pre_freeze / post_traw script Nutanix for Nagios VM for application consistent snapshot

Post by danderson »

Thanks for reaching out @HunkelerA,

I do not believe any specific actions need to occur for Nagios XI during either the pre_freeze or post_thaw stages so the world's your oyster when it comes to writing these scripts. You can look here for example scripts and requirements.

Let me know if you have any further questions.
HunkelerA
Posts: 2
Joined: Thu Nov 09, 2023 9:17 am

Re: Pre_freeze / post_traw script Nutanix for Nagios VM for application consistent snapshot

Post by HunkelerA »

Dear @danderson,

Thank you for your response.

I searched if Nagios XI used a database and I found that Nagios used MySQL or MariaDB depending the version of CentOS.

So should I took scripts that also manage the database? Can I take the sample on the link that you sent?

Best regards,

HunkelerA
jsimon
Posts: 345
Joined: Wed Aug 23, 2023 11:27 am

Re: Pre_freeze / post_traw script Nutanix for Nagios VM for application consistent snapshot

Post by jsimon »

@HunkelerA

The answer would depend on whether or not you need your snapshots to include backing up your database. If you're fine reverting everything in your snapshot except for the database you wouldn't need this, but assuming you do want to restore the database you would want to include it in your snapshot backup.

We would advise following up on the linked Nutanix support pages for more assistance with developing scripts to back up your software using Nutanix VMs.

Let us know if you have further questions
Post Reply