All Apps and Add-ons

rh_healthlog.py / rh_usage_data.py not found

sylbaea
Communicator

I am using DB Connect 3.1.0 and I have following errors in splunkd.log

07-06-2017 06:10:30.284 +0000 ERROR AdminManager - Could not setup handler 'health' due to missing file 'rh_healthlog.py'.  Please ensure that it is in the bin subdirectory of the appropriate Splunk app path.
07-06-2017 06:10:30.284 +0000 ERROR AdminManager - Could not setup handler 'usage_data' due to missing file 'rh_usage_data.py'.  Please ensure that it is in the bin subdirectory of the appropriate Splunk app path.

It looks to come from splunk_app_db_connect\default\restmap.conf where following is defined:

[admin_external:health]
handlertype=python
handlerfile=**rh_healthlog.py**
handleractions=create,edit,list,remove,enable,disable,_reload
#handlerpersistentmode=true DBX-2818

[admin_external:usage_data]
handlertype=python
handlerfile=**rh_usage_data.py**
handleractions=list
#handlerpersistentmode=true DBX-2818

But those files do not exist anymore in version 3.1.0 (but I see them in 3.0.2 release) As far as I can see so far, it did not create any problem for me (out of the periodical error messages). Has anybody else same problem ?

Regards.

alexsayegh
Explorer

According to the splunk_app_db_connect release notes of 3.1.2:

2017-12-15 DBX-4472 rh_healthlog and rh_usage_data are invalid entries in restmap.conf

So just upgrade to 3.1.2 and it should be fixed

0 Karma

alexsayegh
Explorer

Well, if you don't want to update it (for what ever reason you have) and insist on editing the default file (which is not recommended) just comment out the whole section.

0 Karma

akocak
Contributor

what If i dont wan't to update my db connect for other reasons, and just disappear this message.

Should i delete entry from restmap.conf at ...\splunk_app_db_connect\default ?

[admin_external:health]
handlertype=python
handlerfile=rh_healthlog.py
handleractions=create,edit,list,remove,enable,disable,_reload

what is the correct way of deleting this entry? workflowactions.conf ?

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...