Can someone give me a working pingtipcheck.sh for CNTOOLS setup?

I tried to make it myself but healthchecks.io doesn’t like my (crontab + pingtipcheck.sh)

Try to delete the shelley subcommand or replace it with Mary?

image

Let me check…

Try without that parameter … try just
cardano-cli query tip - -mainnet

seems like it worked, no output though

image

not sure the command to see

1 Like

That’s because we are not in shelley era anymore, and since Mary era is the current era u will not need to specify the Era

Still getting bad healthchecks.io script isnt working

Hi @Anti.biz !
This is the script I shared with you some time ago.
I updated it when 1.27.0 was released as the query tip command was changed at this time.
Updated code is available here: https://github.com/ResponsibleStaking/Cardano-SPO-Scripts

Or better just change this line (to avoid needing to set your config in the header of the file):
customCurrentSlotNoString=$($CARDANO_CLI_PATH query tip --mainnet | grep -Po ‘“slot”: \K[0-9]+’)

1 Like

Thanks working great! Let me know if you create any other helpful scripts!

Have you seen this already? Block Producer - Failover Approach with a BP Standby

1 Like

looks interesting maybe i can try it on a arch processor since aws is super expensive on x64