Nagios Plugin via CLI

because when i try to run vi / nano to check_snmp seems like the file is unwritebale