//Nagios Plugin to check an IBM AS/400 // //Developed September 2004 //Last Modified September 27 2004 // //This class is used as a varible structure //holding language conversions for parsing tokens // //Definitions for the ENGLISH language // public class check_as400_lang{ //These constants are referenced during parsing so //that the correct phrases are found. //This is found at the bottom when you type dspjob (name of a job //that exists) public String SELECTION="Selection"; //Run dspmsg and it will display "No messages available" if there are no //messages public String NO_MESSAGES_AVAILABLE="No messages available"; //The "password has expired"/"password expires" messages are the messages //you get when you login with an account which has an expired/will expire //password. public String PASSWORD_HAS_EXPIRED="Password has expired"; public String PASSWORD_EXPIRES="password expires"; //The "Display Messages" is what you get after logging into an account //which displays any messages before continuing to the menu. public String DISPLAY_MESSAGES="Display Messages"; //Run wrkoutq blah* and it will say "(No output queues)" public String NO_OUTPUT_QUEUES="No output queues"; //If you type dspsbsd blah it will say "...not found..." public String NOT_FOUND="not found"; //If you type dspjob QINTER, it should complain that there are duplicate //jobs and print at the bottom of the window "duplicate jobs found" public String DUPLICATE="Duplicate"; //if you type dspjob blah, it will respond Job //blah not found //Only put the Job // part. public String JOB="Job //"; //If try and execute a command that you are not allowed it will say //"library *LIBL not allowed" public String LIBRARY_NOT_ALLOWED="library *LIBL not allowed"; //On a login with an expired password we look for "Exit sign-on" on the //screen before we send the F3 to exit and disconnect. public String EXIT_SIGNON="Exit sign-on"; };