Hi,
I'm having problems with how xymon is reporting a status and wanted to give you a step-by-step detailed description of what I did to get in the state that it is in so that it will hopefully describe what to do to fix this anomally.
I set up a custom script to monitor the status of process, more than just monitoring to see if the daemon is up or down, etc, etc. In testing the script I used the example of the client-side script on my client. I created the script on the clients and everything showed up on the xymon webpage and worked perfectly. I then realized that I wanted to rename the script on the client to something better describing it. So I proceeded to rename the script and update the clientlaunch.cfg in etc on each client to reflect the new name. After a short period the column on the xymon website showing the status of the original name of the script went purple because that script name was not reporting anymore. I removed this purple column by running xymon 127.0.0.1 "drop <HOSTNAME> <columname>". The problem is I can't get the column to show back up again with the status from the newly named script that is currently configured. The names of the columns were the same, just the script name changed. I suspect that is why it is behaving this way but don't know what to do to fix this state that it's in.
Any help would be greatly appreciated.
Lenny
On 2/12/2014 7:34 AM, Hewitt, Lenny wrote:
Hi,
I'm having problems with how xymon is reporting a status and wanted to give you a step-by-step detailed description of what I did to get in the state that it is in so that it will hopefully describe what to do to fix this anomally.
I set up a custom script to monitor the status of process, more than just monitoring to see if the daemon is up or down, etc, etc. In testing the script I used the example of the client-side script on my client. I created the script on the clients and everything showed up on the xymon webpage and worked perfectly. I then realized that I wanted to rename the script on the client to something better describing it. So I proceeded to rename the script and update the clientlaunch.cfg in etc on each client to reflect the new name. After a short period the column on the xymon website showing the status of the original name of the script went purple because that script name was not reporting anymore. I removed this purple column by running xymon 127.0.0.1 "drop <HOSTNAME> <columname>". The problem is I can't get the column to show back up again with the status from the newly named script that is currently configured. The names of the columns were the same, just the script name cha nged. I suspect that is why it is behaving this way but don't know what to do to fix this state that it's in.
Any help would be greatly appreciated.
The column went purple because the test result stopped arriving. If the test name was not changed as part of the script-rename, then I have to assume that the script is not actually running. Check the spelling in the clientlaunch.cfg and confirm your newly renamed script is still executable.
Does the test result appear if you launch the script by hand on one host?
Do things because you should, not just because you can.
John Thurston 907-465-8591 John.Thurston at alaska.gov Enterprise Technology Services Department of Administration State of Alaska
On 13 February 2014 03:34, Hewitt, Lenny <ghewit01 at harris.com> wrote:
describing it. So I proceeded to rename the script and update the clientlaunch.cfg in etc on each client to reflect the new name. After a short period the column on the xymon website showing the status of the original name of the script went purple because that script name was not reporting
Check the xymonlaunch.log file to see if it's not being launched for some reason.
J
participants (3)
-
ghewit01@harris.com
-
jlaidman@rebel-it.com.au
-
john.thurston@alaska.gov