Splunk Dev

SNMP Modular script error status 1

tmarlette
Motivator

I have installed the latest version of the SNMP Modular input, and when I'm entering all of the information necessary I am encountering the following error while trying to save:
Encountered the following error while trying to save: In handler 'snmpif': The script returned with exit status 1.

This is a screen shot:

alt text

Can anyone suggest any thing to get around this?

1 Solution

tmarlette
Motivator

I figured this out. this means that the script is not able to write to the 'inputs.conf' file.

My solution was to adjust /opt/splunk/etc/apps/snmpmod/inputs.conf manually

[snmpif://myDevice]
destination = 10.10.10.10
port = 161
snmp_version = 2C
interfaces = 1,2,3,4,5,6,7,8,9,10
communitystring = idnbigdata
snmpinterval = 60
index = myIndex
sourcetype = snmp:if
disabled = 0

View solution in original post

tmarlette
Motivator

I figured this out. this means that the script is not able to write to the 'inputs.conf' file.

My solution was to adjust /opt/splunk/etc/apps/snmpmod/inputs.conf manually

[snmpif://myDevice]
destination = 10.10.10.10
port = 161
snmp_version = 2C
interfaces = 1,2,3,4,5,6,7,8,9,10
communitystring = idnbigdata
snmpinterval = 60
index = myIndex
sourcetype = snmp:if
disabled = 0
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...