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!

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...