This question is partly inspired by David Stork's recent question about the enigmatic complexity of number theory. Are there algebraic systems which are similar enough to the integers that one can formulate a "Riemann hypothesis" but for which the Riemann hypothesis is false? One motivation for constructing such things would be to illustrate the barriers to proving the Riemann hypothesis, and another one would be to illustrate how "delicate" the Riemann hypothesis is (i.e., that it's not something that automatically follows from very general considerations).

I've run across various zeta functions over the years, but I seem to recall that either the Riemann hypothesis is probably/provably true, or the zeta function is too unlike the classical zeta function to yield much insight.

More generally, what happens if we replace "Riemann hypothesis" with some other famous theorem or conjecture of number theory that seems to be "delicate"? Can we construct interesting systems where the result fails to hold?