We are currently migrating from nagios to solarwinds and I am now looking into the best way to migrate our custom nagios check scripts to solarwinds. We have rhel5 servers and have installed net-snmp on all of them.
We have a few custom nagios check scripts, a good example is a shell script that does a "sudo multipath -l | egrep error|faulty|blabla" and returns an error if any fibre path is down.
I would prefer to only use snmp on the servers and not enable ssh from solarwinds to the servers if possible so I have found that it is possible to add some of these scripts to snmpd.conf as exec/extend:
extend .x.x.x.x.x multipath /usr/share/snmp/scripts/check_multipath
.x.x.x.x is a OID that we will create a custom poller for in solarwinds.
I would like know your thoughts for using this approach. I find it to be simplest solution but there might be drawbacks?
Thanks for any comments ...