I have created test script for Linux/Unix script APM template to see how exit status impact on script status. following is my sample script
#!/usr/bin/perl
use strict;
if ( 0 == 0 ){
print "Message.1: Available memory\n";
print "Statistic.1: 99\n";
}
exit 0;
I tried following exit values to see how orion changing status.Why its showing Unknown on other exit code ?
exit 0; = status Unknown
exit 1; = status Down
exit 2; = status Unknown
exit 3; = status Unknown
exit 4; = status Unknown
exit 5; = status Unknown