Hello Kathleen, Have you executed the `make encrypt` target to build the `check_node` binary? [0] From there, I copied it to the Riak node and invoked it like this:
$ /usr/lib/riak/erts-5.9.1/bin/escript check_node --node riak@127.0.0.1 riak_kv_up OKAY: riak_kv is running on riak@127.0.0.1 I used the entire path to escript because the bin directory under erts was not in my PATH by default. -- Hector [0] https://github.com/basho/riak_nagios#building On Mon, Dec 9, 2013 at 7:35 PM, kzhang <kzh...@wayfair.com> wrote: > Also, when running > > https://github.com/basho/riak_nagios/blob/master/src/check_node.erl > > I ran into the error: > > ** exception error: undefined function getopt:parse/2 > in function check_node:main/2 (check_node.erl, line 15) > > > > > -- > View this message in context: > http://riak-users.197444.n3.nabble.com/riak-nagios-script-tp4030025p4030026.html > Sent from the Riak Users mailing list archive at Nabble.com. > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com