Alerting

Puppet Tasks Alert Actions for Puppet error

vanacjo
New Member

As i was trying to get the application working, i'm always getting an error on cim_actions.py.

See below for a view on how everything is set:

Application config:
alt text

Alert config:
alt text

The error coming from /opt/splunk/var/log/splunk/puppet_enterprise_tasks_modalert.log:

2018-12-13 14:41:42,213 INFO pid=16947 tid=MainThread file=cim_actions.py:message:353 | sendmodaction - worker="joris-pcub" signature="Invoking modular action" action_name="puppet_enterprise_tasks" search_name="db stopped" sid="rt_scheduler__admin__search__RMD54202f6647ebbb67d_at_1544699239_353" rid="0.2" app="search" user="admin" action_mode="saved"
2018-12-13 14:41:43,163 INFO pid=16947 tid=MainThread file=setup_util.py:log_info:114 | Log level is not set, use default INFO
2018-12-13 14:41:43,163 INFO pid=16947 tid=MainThread file=setup_util.py:log_info:114 | Customized key can not be found
2018-12-13 14:41:43,311 ERROR pid=16947 tid=MainThread file=cim_actions.py:message:353 | sendmodaction - worker="joris-pcub" signature="Error: cannot concatenate 'str' and 'NoneType' objects. Please double check spelling and also verify that a compatible version of Splunk_SA_CIM is installed." action_name="puppet_enterprise_tasks" search_name="db stopped" sid="rt_scheduler__admin__search__RMD54202f6647ebbb67d_at_1544699239_353" rid="0.2" app="search" user="admin" action_mode="saved" action_status="failure"

@domeger

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...