(This assumes you intended to require $a \in I$)
Define $f:\mathbb R \rightarrow \mathbb R$ by
$$f(x)=\begin{cases} -e^{-1/x^2}\left[2 - \sin \left(\frac{1}{x}\right)\right] & \text{if} & x < 0\\ 0 & \text{if} & x=0\\ e^{-1/x^2}\left[2 - \sin \left(\frac{1}{x}\right)\right] & \text{if} & x < 0\end{cases}$$
Then $f$ is infinitely differentiable everywhere, and $f$ is strictly increasing at the point $x=0$ (in fact, $\delta = \infty$ in your requirement), and for each $\epsilon > 0$ we have $f$ is not monotone on the interval $(-\epsilon,\,0)$ and $f$ is not monotone on the interval $(0,\,\epsilon).$
To see that $f$ is strictly increasing at $x=0,$ note that $f(x)$ is negative when $x<0,$ $f(0)$ is zero, and $f(x)$ is positive when $x > 0.$
One way to prove $g^{(n)}(0)$ exists and equals $0$ for all positive integers $n$ is by mathematical induction similar to the method outlined here, the main difference for the function above being that one first proves by induction that each $g^{(n)}(x)$ has the form $e^{-1/x^2}\cdot\left[C_n(x)\cos(1/x) + S_n(x)\sin(1/x)\right]$ where $C_n$ and $S_n$ are rational functions of $x$ (whose explicit expressions are not needed).
Incidentally, I thought such an example could be found in Dini's 1878 book, given that his book has a similar example that I gave in my answer to Smooth function with infinite oscillation, but I wasn't able to find such an example in his 1878 book. Another useful old reference for real variable counterexamples is Esercizi e Note Critiche di Calcolo Infinitesimale by Ernesto Pascal (1895), but I didn't find an example there either.