So I have this trigger that I created
{Template App Splunk Forwarder Service
roc.num[,root,all,splunkd].last(0)}=0
All I want it to do is if there are 0 splunkd processes running let the trigger fire so the action can be ran to go restart the forwarder.
Problem is that in my logs with debug level 5 turned on this is what I see
38974:20160610:093458.274 In evaluate_function() function:'havok01
roc.num[,root,all,splunkd].last(0)'
So I can see its trying to evaluate it. Zabbix does indeed tell me that the forwarder is down. I just don't think that my trigger is written correctly in order to catch this state.
I think that once I have this thing working correctly the action should fire. If not I'll visit that next. I've read through the wiki and searched to no end to try and find a nice example of what I'm attempting to pull off here. Thank you all for your help with this in advance and I'm sure its something simple and stupid.
{Template App Splunk Forwarder Service
roc.num[,root,all,splunkd].last(0)}=0All I want it to do is if there are 0 splunkd processes running let the trigger fire so the action can be ran to go restart the forwarder.
Problem is that in my logs with debug level 5 turned on this is what I see
38974:20160610:093458.274 In evaluate_function() function:'havok01
roc.num[,root,all,splunkd].last(0)'So I can see its trying to evaluate it. Zabbix does indeed tell me that the forwarder is down. I just don't think that my trigger is written correctly in order to catch this state.
I think that once I have this thing working correctly the action should fire. If not I'll visit that next. I've read through the wiki and searched to no end to try and find a nice example of what I'm attempting to pull off here. Thank you all for your help with this in advance and I'm sure its something simple and stupid.
.
Comment