[Bug 36835] job queue monitoring looks for 1.18 dir and fails / $wmfExtendedVersionNumber.php
https://bugzilla.wikimedia.org/show_bug.cgi?id=36835 Andre Klapper aklap...@wikimedia.org changed: What|Removed |Added Priority|Normal |Low Status|NEW |UNCONFIRMED Component|[Other] |General/Unknown Product|Tools |Wikimedia Ever confirmed|1 |0 -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36835] job queue monitoring looks for 1.18 dir and fails / $wmfExtendedVersionNumber.php
https://bugzilla.wikimedia.org/show_bug.cgi?id=36835 Aaron Schulz aschulz4...@gmail.com changed: What|Removed |Added CC||aschulz4...@gmail.com --- Comment #8 from Aaron Schulz aschulz4...@gmail.com --- Is this still a problem? -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36835] job queue monitoring looks for 1.18 dir and fails / $wmfExtendedVersionNumber.php
https://bugzilla.wikimedia.org/show_bug.cgi?id=36835 --- Comment #4 from Andre Klapper aklap...@wikimedia.org --- Daniel: Is this still an issue, or can this be closed as obsolete? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36835] job queue monitoring looks for 1.18 dir and fails / $wmfExtendedVersionNumber.php
https://bugzilla.wikimedia.org/show_bug.cgi?id=36835 --- Comment #5 from Daniel Zahn dz...@wikimedia.org --- what i wrote in 2012 is not an issue anymore. since then we switched to a single job_queue check. Which was ok at some point but maybe it is not ok again, because: Current Status: OK (for 72d 17h 59m 48s) Status Information:Could not open input file: /home/wikipedia/common/multiversion/MWScript.php JOBQUEUE OK - all job queues below 10,000 https://icinga.wikimedia.org/cgi-bin/icinga/extinfo.cgi?type=2host=neonservice=check_job_queue -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36835] job queue monitoring looks for 1.18 dir and fails / $wmfExtendedVersionNumber.php
https://bugzilla.wikimedia.org/show_bug.cgi?id=36835 --- Comment #6 from Daniel Zahn dz...@wikimedia.org --- #!/bin/bash # nagios plugin to check the mediawiki job queue LARGEQUEUES= while read wiki count do if [ ! $(echo $count | grep -E ^[0-9]+$) ]; then echo JOBQUEUE CRITICAL - check plugin (`basename $0`) or PHP errors - $wiki exit 2 elif [ $count -gt ]; then LARGEQUEUES=$LARGEQUEUES, $wiki ($count) fi # The line below is a bash-ism that's needed for the LARGEQUEUES variable above to be in the right scope # If you do php ... | while read wiki count; do LARGEQUEUE=blah; done , then the LARGEQUEUE variable will # be manipulated in a subshell and the changes won't be visible to the if check below done ( php /home/wikipedia/common/multiversion/MWScript.php extensions/WikimediaMaintenance/getJobQueueLengths.php ) if [ -z $LARGEQUEUES ]; then echo JOBQUEUE OK - all job queues below 10,000 exit 0 else echo JOBQUEUE CRITICAL - the following wikis have more than 9,999 jobs: $LARGEQUEUES exit 2 fi -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36835] job queue monitoring looks for 1.18 dir and fails / $wmfExtendedVersionNumber.php
https://bugzilla.wikimedia.org/show_bug.cgi?id=36835 --- Comment #7 from Daniel Zahn dz...@wikimedia.org --- root@neon:/usr/lib/nagios/plugins# ./check_job_queue Could not open input file: /home/wikipedia/common/multiversion/MWScript.php JOBQUEUE OK - all job queues below 10,000 root@neon:~# cd /h/w/ -bash: cd: /h/w/: No such file or directory of course, neon does not have /h/w. spence did. this could never work if it relies on that -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36835] job queue monitoring looks for 1.18 dir and fails / $wmfExtendedVersionNumber.php
https://bugzilla.wikimedia.org/show_bug.cgi?id=36835 Andre Klapper aklap...@wikimedia.org changed: What|Removed |Added CC||aklap...@wikimedia.org --- Comment #3 from Andre Klapper aklap...@wikimedia.org 2012-10-26 21:55:40 UTC --- Daniel: Is this still an issue, or can this be closed as obsolete? -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36835] job queue monitoring looks for 1.18 dir and fails / $wmfExtendedVersionNumber.php
https://bugzilla.wikimedia.org/show_bug.cgi?id=36835 --- Comment #1 from Daniel Zahn dz...@wikimedia.org 2012-05-14 13:59:59 UTC --- 15:37 jeremyb do you have anything in /home/wikipedia/common/wikiversion* ? 15:37 mutante where should it get the info from? 15:38 mutante yea, wikiversion.data 15:38 mutante .dat 15:38 mutante 2012-05-09 15:39 mutante the string 18 does not appear in the file 15:40 mutante and wikiversions.cdb , modified 05-10 15:41 jeremyb so, strace and find out which wikiversions file it's using? or if it's using one at all? 15:41 jeremyb 1.18 was once hardcoded into CommonSettings.php as a fallback. but not in the current cluster version so I'm looking elsewhere 15:43 mutante open(/usr/local/apache/common-local/wikiversions.cdb, O_RDONLY) = 3 15:43 jeremyb there you go 15:44 jeremyb does that (or it's .dat) have 1.18? 15:45 mutante yes 15:45 mutante so getMWVersion should be changed to use /home ? 15:46 mutante or add mechanism to copy to /usr/local 15:46 jeremyb or -local should be made to be reliably up to date 13:48 mutante: copying outdated wikiversions.dat/.cdb files from /home to /usr/local on spence, which fixes check_job_queue (thanks jeremyb) ./check_job_queue JOBQUEUE OK - all job queues below 10,000 -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36835] job queue monitoring looks for 1.18 dir and fails / $wmfExtendedVersionNumber.php
https://bugzilla.wikimedia.org/show_bug.cgi?id=36835 jeremyb bugzilla+org.wikime...@tuxmachine.com changed: What|Removed |Added CC||bugzilla+org.wikimedia@tuxm ||achine.com --- Comment #1 from Daniel Zahn dz...@wikimedia.org 2012-05-14 13:59:59 UTC --- 15:37 jeremyb do you have anything in /home/wikipedia/common/wikiversion* ? 15:37 mutante where should it get the info from? 15:38 mutante yea, wikiversion.data 15:38 mutante .dat 15:38 mutante 2012-05-09 15:39 mutante the string 18 does not appear in the file 15:40 mutante and wikiversions.cdb , modified 05-10 15:41 jeremyb so, strace and find out which wikiversions file it's using? or if it's using one at all? 15:41 jeremyb 1.18 was once hardcoded into CommonSettings.php as a fallback. but not in the current cluster version so I'm looking elsewhere 15:43 mutante open(/usr/local/apache/common-local/wikiversions.cdb, O_RDONLY) = 3 15:43 jeremyb there you go 15:44 jeremyb does that (or it's .dat) have 1.18? 15:45 mutante yes 15:45 mutante so getMWVersion should be changed to use /home ? 15:46 mutante or add mechanism to copy to /usr/local 15:46 jeremyb or -local should be made to be reliably up to date 13:48 mutante: copying outdated wikiversions.dat/.cdb files from /home to /usr/local on spence, which fixes check_job_queue (thanks jeremyb) ./check_job_queue JOBQUEUE OK - all job queues below 10,000 -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36835] job queue monitoring looks for 1.18 dir and fails / $wmfExtendedVersionNumber.php
https://bugzilla.wikimedia.org/show_bug.cgi?id=36835 Mark A. Hershberger m...@everybody.org changed: What|Removed |Added Priority|Unprioritized |Normal CC||m...@everybody.org -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 36835] job queue monitoring looks for 1.18 dir and fails / $wmfExtendedVersionNumber.php
https://bugzilla.wikimedia.org/show_bug.cgi?id=36835 --- Comment #2 from Sam Reed (reedy) s...@reedyboy.net 2012-05-15 02:53:21 UTC --- You should probably use the /usr/local/apache/common/php/maintenance/showJobs.php in some way or another. We could just push all the MW files to spence... -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l