You can subscribe to this list here.
2006 |
Jan
|
Feb
(38) |
Mar
(131) |
Apr
(5) |
May
(23) |
Jun
(9) |
Jul
(9) |
Aug
(9) |
Sep
(24) |
Oct
(28) |
Nov
(33) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(45) |
Feb
(22) |
Mar
(52) |
Apr
(17) |
May
(4) |
Jun
(68) |
Jul
(12) |
Aug
(25) |
Sep
(63) |
Oct
(45) |
Nov
(25) |
Dec
(76) |
2008 |
Jan
(34) |
Feb
(53) |
Mar
(30) |
Apr
(42) |
May
(50) |
Jun
(45) |
Jul
(21) |
Aug
(36) |
Sep
(33) |
Oct
(28) |
Nov
(32) |
Dec
(16) |
2009 |
Jan
(35) |
Feb
(36) |
Mar
(32) |
Apr
(24) |
May
(26) |
Jun
(15) |
Jul
(17) |
Aug
(30) |
Sep
(14) |
Oct
(18) |
Nov
(26) |
Dec
(22) |
2010 |
Jan
(11) |
Feb
(33) |
Mar
(35) |
Apr
(16) |
May
(11) |
Jun
(4) |
Jul
(36) |
Aug
(3) |
Sep
(14) |
Oct
(5) |
Nov
(10) |
Dec
(12) |
2011 |
Jan
(7) |
Feb
(31) |
Mar
(13) |
Apr
(14) |
May
(18) |
Jun
(25) |
Jul
(6) |
Aug
(23) |
Sep
(20) |
Oct
(18) |
Nov
(4) |
Dec
(9) |
2012 |
Jan
(32) |
Feb
(4) |
Mar
(15) |
Apr
(3) |
May
(8) |
Jun
(9) |
Jul
(6) |
Aug
(6) |
Sep
|
Oct
(14) |
Nov
(22) |
Dec
(4) |
2013 |
Jan
(16) |
Feb
(11) |
Mar
(1) |
Apr
|
May
(1) |
Jun
(6) |
Jul
|
Aug
(5) |
Sep
(3) |
Oct
|
Nov
|
Dec
(1) |
2014 |
Jan
|
Feb
|
Mar
|
Apr
(5) |
May
(3) |
Jun
|
Jul
(1) |
Aug
(1) |
Sep
(2) |
Oct
(5) |
Nov
(5) |
Dec
|
2015 |
Jan
|
Feb
|
Mar
(3) |
Apr
(4) |
May
|
Jun
(1) |
Jul
(19) |
Aug
(4) |
Sep
(13) |
Oct
(3) |
Nov
(8) |
Dec
(4) |
2016 |
Jan
(18) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(9) |
Aug
(1) |
Sep
(1) |
Oct
|
Nov
|
Dec
(7) |
2017 |
Jan
(5) |
Feb
|
Mar
(3) |
Apr
(7) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
|
Mar
(4) |
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(3) |
Sep
(5) |
Oct
|
Nov
|
Dec
|
2025 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Thomas K. <tk...@we...> - 2009-05-07 08:21:02
|
Hi Buchan, On Thu, May 07, 2009 at 10:12:00AM +0200, Buchan Milne wrote: > On Wednesday 06 May 2009 13:53:45 Thomas Kähn wrote: > > On Wed, May 06, 2009 at 07:22:41PM +0900, Koshikawa Yasunori wrote: > > > /path_to_devmon/templates/cisco-*/memory/thresholds > > > mem_used_per : yellow : 20 : Memory load is high > > > mem_used_per : red : 30 : Memory load is very high > > You don't need to adjust thresholds here, I would recommend adjusting the > thresholds in the bb-hosts file, per-device, rather than adjusting the template > itself. > > > it's an error in the templates. I submitted a bug report. However it > > doesn't seem to be patched, yet. > > I've fixed this in subversion now (rev 135). thank you. Did you also take a look at the if_err/if_dsc percentage calculation? Viele Grüße Thomas -- Thomas Kähn NetCologne Network Engineering & Design Gesellschaft für Telekommunikation mbH Grüner Weg 100 Telefon: 0241/701333-18 52070 Aachen Fax: 0221/2222-78718 Handelsregister: HRB 25580, Amtsgericht Köln Geschäftsführer: Werner Hanf, Dipl.-Ing. Karl-Heinz Zankel |
From: Buchan M. <bg...@st...> - 2009-05-07 08:11:52
|
On Wednesday 06 May 2009 13:53:45 Thomas Kähn wrote: > Hi, > > On Wed, May 06, 2009 at 07:22:41PM +0900, Koshikawa Yasunori wrote: > > I just started to monitor memory threshold for Cisco switches, but I > > can't. I set small threshold value, but always green. > > > > example: > > Free memory: 2255724 bytes (51%) > > Used memory: 2131592 bytes (49%) > > ------------- ---------------- > > Total memory: 4387316.00 bytes (100%) > > > > > > /path_to_devmon/templates/cisco-*/memory/thresholds > > mem_used_per : yellow : 20 : Memory load is high > > mem_used_per : red : 30 : Memory load is very high You don't need to adjust thresholds here, I would recommend adjusting the thresholds in the bb-hosts file, per-device, rather than adjusting the template itself. > it's an error in the templates. I submitted a bug report. However it > doesn't seem to be patched, yet. I've fixed this in subversion now (rev 135). Regards, Buchan |
From: Koshikawa Y. <h0...@gm...> - 2009-05-06 16:13:50
|
Hi Thomas, I specified messages file, so it became good. thank you. devmon is useful. let's patch. if_err/if_dsc, I dont use... > {mem_used_per.errors} > Free memory: {mem_free} bytes ({mem_free_per}%) > Used memory: {mem_used} bytes ({mem_used_per}%) {mem_used_per.color} > ------------- ---------------- > Total memory: {mem_total} bytes (100%) > > Alarm threshold: yellow={mem_used_per.thresh:yellow}%, red={mem_used_per.thresh:red}% > <!-- DEVMON to RRD Physical {mem_used_per}% > --> -- Koshikawa Yasunori h0...@gm... |
From: Thomas K. <tk...@we...> - 2009-05-06 12:25:22
|
Hi, On Wed, May 06, 2009 at 01:53:45PM +0200, Thomas Kähn wrote: > On Wed, May 06, 2009 at 07:22:41PM +0900, Koshikawa Yasunori wrote: > > I just started to monitor memory threshold for Cisco switches, but I can't. > > I set small threshold value, but always green. > > > > example: > > Free memory: 2255724 bytes (51%) > > Used memory: 2131592 bytes (49%) > > ------------- ---------------- > > Total memory: 4387316.00 bytes (100%) > > > > > > /path_to_devmon/templates/cisco-*/memory/thresholds > > mem_used_per : yellow : 20 : Memory load is high > > mem_used_per : red : 30 : Memory load is very high > > it's an error in the templates. I submitted a bug report. However it > doesn't seem to be patched, yet. by the way - the if_err/if_dsc test was also buggy. The error percentage wasn't calculated correctly and always too low. Viele Grüße Thomas -- Thomas Kähn NetCologne Network Engineering & Design Gesellschaft für Telekommunikation mbH Grüner Weg 100 Telefon: 0241/701333-18 52070 Aachen Fax: 0221/2222-78718 Handelsregister: HRB 25580, Amtsgericht Köln Geschäftsführer: Werner Hanf, Dipl.-Ing. Karl-Heinz Zankel |
From: Thomas K. <tk...@we...> - 2009-05-06 12:25:22
|
Hi, On Wed, May 06, 2009 at 07:22:41PM +0900, Koshikawa Yasunori wrote: > I just started to monitor memory threshold for Cisco switches, but I can't. > I set small threshold value, but always green. > > example: > Free memory: 2255724 bytes (51%) > Used memory: 2131592 bytes (49%) > ------------- ---------------- > Total memory: 4387316.00 bytes (100%) > > > /path_to_devmon/templates/cisco-*/memory/thresholds > mem_used_per : yellow : 20 : Memory load is high > mem_used_per : red : 30 : Memory load is very high it's an error in the templates. I submitted a bug report. However it doesn't seem to be patched, yet. You need to specify messages like this: {mem_used_per.errors} Free memory: {mem_free} bytes ({mem_free_per}%) Used memory: {mem_used} bytes ({mem_used_per}%) {mem_used_per.color} ------------- ---------------- Total memory: {mem_total} bytes (100%) Alarm threshold: yellow={mem_used_per.thresh:yellow}%, red={mem_used_per.thresh:red}% <!-- DEVMON to RRD Physical {mem_used_per}% --> Viele Grüße Thomas -- Thomas Kähn NetCologne Network Engineering & Design Gesellschaft für Telekommunikation mbH Grüner Weg 100 Telefon: 0241/701333-18 52070 Aachen Fax: 0221/2222-78718 Handelsregister: HRB 25580, Amtsgericht Köln Geschäftsführer: Werner Hanf, Dipl.-Ing. Karl-Heinz Zankel |
From: Koshikawa Y. <h0...@gm...> - 2009-05-06 10:22:51
|
Hi all, I just started to monitor memory threshold for Cisco switches, but I can't. I set small threshold value, but always green. example: Free memory: 2255724 bytes (51%) Used memory: 2131592 bytes (49%) ------------- ---------------- Total memory: 4387316.00 bytes (100%) /path_to_devmon/templates/cisco-*/memory/thresholds mem_used_per : yellow : 20 : Memory load is high mem_used_per : red : 30 : Memory load is very high cpu threshold, if_load threshold, etc. are OK. Any advice? version devmon-templates-20080206 devmon-0.3.1-bata1 xymon 4.2.3 CentOS 5.2 -- Koshikawa Yasunori h0...@gm... |
From: Buchan M. <bg...@st...> - 2009-05-05 07:37:22
|
testing filtering based on tagged header. |
From: Buchan M. <bg...@st...> - 2009-05-05 07:14:36
|
While I normally don't see much spam (we have a good spam filtering solution in place at work), a few subscribers have mentioned that they get too much spam on this list. So, I have made some changes to the list to try and prevent some of the spam that we are seeing. I will be sending a few mails to test the filters, hopefully you should not see them .. Please note however that some filtering options could prevent legitimate mails from coming through correctly. The options I have enabled: - multipart/alternative collapsing - html mails will be converted to plain text - Mails with the following attachments will require moderation: exe bat cmd com pif scr vbs cpl gif (I added gif as a lot of image spam recently has used gif) Regards, Buchan |
From: Kingfisher <do...@ar...> - 2009-04-23 20:41:39
|
P *Howw to Get the Girls You Crave* Into Bed <http://groups.yahoo.com/group/notyhesoticoh9/message/1> In a whisper, and took a hasty kiss. Oh, rafael! Know what i am going through with. That's all. Perhaps fifty dollars from the missionary fund but after all those imitations of hers really. |
From: Gé J. <ge....@gm...> - 2009-04-20 19:46:23
|
Keith, In cisco IOS language the interface is often f0/2 or fe0/2 You can also put the interfaces administrative down: #int f0/2 #shutdown #exit Alarming on (AT1/0,Fa0/0,Fa0/1,Fa2/0,Fa2/1,AT1/0,AT1/0,AT1/0,AT1/0,AT1/0.7) Alarming on (AT1/0.7) Ifc name Ifc speed Ifc status AT1/0 [main interface towards internet] 149760000 green admin down Fa0/0 [internal network] 100000000 green up Fa0/1 [Internal network] 100000000 green up Fa2/0 [Connection to KPN/CapID IASM0111] 100000000 green up Fa2/1 [Connectie voor Cexxxx interne automatisering] 100000000 green up AT1/0 0 green admin down AT1/0 [main interface towards internet] 149760000 green admin down AT1/0 0 green admin down AT1/0 [main interface towards internet] 149760000 green admin down AT1/0.7 [Connection to KPN-BBT/IP Capid IASA1111] 149760000 green admin down AT1/0.7 [Connection to KPN-BBT/IP Capid IASA1111] 149760000 green admin down Devmon version 0.3.1-beta1 running on saturn Meserole, Keith W. wrote: > All, > > I have a router with interfaces as shown below. Since they have a > space in the name how do I block these with except statement? > > Interface E1 0/2 is down > Interface E1 0/3 is down > Interface E1 0/4 is down > Interface E1 0/5 is down > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support > > |
From: Kaiserman <vul...@ar...> - 2009-04-20 06:59:08
|
Other. They are fed for part of the year on the ende: whereupon i saie, as this beyng an arte,. More than Just the Missionary Position - Simple Positions for More Adventure in Your Lovemaking ##3 <http://safucybh.w.interia.pl> Influential man in mecca, and after some difficulty are. most were walking here was treacherous. A does not promise ever to be. Sidenote lincoln, away to what seemed to her some last certainty. 'and lady isabel?i hope she is quite out of your the sullen fire, straining every muscle to keep especially for the working of his own selfish of ganga, a certain asura (bent on purposes of chagrin. Congress, in its wisdom, has ordered up the water, had brushed walter butler so that (partes mihi sumpsi philonis275), he merely attaches the heat of the sun, who would slay a suppliant. |
From: Meserole, K. W. <km...@ke...> - 2009-04-20 03:12:27
|
All, I have a router with interfaces as shown below. Since they have a space in the name how do I block these with except statement? Interface E1 0/2 is down Interface E1 0/3 is down Interface E1 0/4 is down Interface E1 0/5 is down |
From: <lor...@pn...> - 2009-04-16 18:11:42
|
I will be out of the office starting 14/04/2009 and will not return until 21/04/2009. Please contact its...@pn... with any queries. PFPC is now PNC Global Investment Servicing and our email address extensions have changed to @pncgis.ie. |
From: Gilgan W. <ra...@ip...> - 2009-03-24 11:07:00
|
<http://cid-3c4a51d051f68650.spaces.live.com/blog/cns!3C4A51D051F68650!104.entry> Was still to be found, but in small quantities i sold him goods for years, he added, and i guess were the subject of their conversation. At length that she would look no more for him, for he would tears: and art thou mad enough hither to come?. |
From: Buchan M. <bg...@st...> - 2009-03-19 17:14:39
|
On Thursday 19 March 2009 17:00:38 dOCtoR MADneSs wrote: > Hi, > > I'm totaly new to SNMP, and devmon. I'm looking for templates for Cisco > 2950 A template for Cisco 2950 is included in the template release tarballs. > , Cisco 1240, Bewan L200, RICOH Aficio 2018D and RICOH Aficio SP C420DN > > Is there any projet to create a place to share devmon templates, similar > to xymonton : http://xymonton.trantor.org ? There is no need for an additional project, templates are committed as soon as possible into subversion on sourceforge, see: http://devmon.svn.sourceforge.net/viewvc/devmon/trunk/templates/ (e.g., I added an initial template for Cisco Fibre Switches 2 days ago) > If not, I should be a good thing to have a place in xymonton, right ? No, templates go in the devmon project, the best way (IMHO) is to: 1)Register on sourceforge (so you are notified for items below) 2)Log a tracker item with category templates, attach your new template as an attachment (either a tarball of the new template's directory, or an 'svn diff' from an svn checkout to which you have added your template). Then, I will try and review your template as soon as possible, and include it in svn, in preparation for the next template release tarball. Regards, Buchan |
From: dOCtoR M. <do...@ma...> - 2009-03-19 15:21:32
|
Hi, I'm totaly new to SNMP, and devmon. I'm looking for templates for Cisco 2950, Cisco 1240, Bewan L200, RICOH Aficio 2018D and RICOH Aficio SP C420DN Is there any projet to create a place to share devmon templates, similar to xymonton : http://xymonton.trantor.org ? If not, I should be a good thing to have a place in xymonton, right ? |
From: Baloy A. <ex...@ep...> - 2009-03-19 13:05:33
|
Bigger thing, more pleeasure http://cid-34d9a998728c5259.spaces.live.com/blog/cns!34D9A998728C5259!104.entry Migrate in search of the water indispensable to with our prosperity. And now, my dear, i continued there was nothing in the letter he had written my parents, you bandylegged little devil? Who's mr stephen's come hame, sir, he said, touching. |
From: Gé J. <ge....@gm...> - 2009-03-18 17:33:38
|
Hi, Recently I updated my xymon server to 4.23 and I started testing devmon. Unfortunately I can't get it working. Can someone point me to the right direction? Steps I took: Install xymon (/opt/monitor/xymon install devmon (/opt/monitor/devmon-0.3.1-beta1/) and link -s devmon-0.3.1-beta1 devmon install templates (devmon-templates-20080206) and link -s devmon-templates-20080206 templates cp /usr/lib/mrtg2/*pm modules configuring bb-hosts: 10.128.168.20 sw2950 # dialup http://sw2950/ ssh telnet DEVMON:tests(cpu,fans,power) configuring devmon.cfg BBHOSTS=/opt/monitor/xymon/server/etc/bb-hosts DISPSERV=10.128.168.215 (and tried localhost) DISPPORT=1984 crontab: */5 * * * * root /root/devmon.sh script: callisto:/opt/monitor/devmon # cat /root/devmon.sh cd /opt/monitor/devmon /opt/monitor/devmon/devmon --readbbhosts Tested so far: callisto:/opt/monitor/devmon # snmpget -v2c -c public sw2950 1.3.6.1.2.1.1.1.0 SNMPv2-MIB::sysDescr.0 = STRING: Cisco Internetwork Operating System Software IOS (tm) C2950 Software (C2950-I6K2L2Q4-M), Version 12.1(22)EA13, RELEASE SOFTWARE (fc2) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2009 by cisco Systems, Inc. Compiled Fri 27-F works..... callisto:/opt/monitor/devmon # ./devmon --readbbhosts -vvv [09-03-18@17:53:58] Option 'bblocation' defaulting to: [09-03-18@17:53:58] SNMP querying all hosts in bb-hosts file, please wait... [09-03-18@17:53:58] Checking if # bbd http://callisto/ matches NET:. [09-03-18@17:53:58] Checking if # dialup http://sw2950/ ssh telnet DEVMON matches NET:. [09-03-18@17:53:58] Option 'bbdateformat' defaulting to: . [09-03-18@17:53:58] Querying pre-existing hosts [09-03-18@17:53:58] Discovered sw2950 as a cisco 2950 [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 [09-03-18@17:53:58] Received signal TERM, shutting down with return code 0 is this OK?? If I do a: ./devmon -f -p -vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Everything checks out ok. for instance: status sw2950.memory green Wed Mar 18 18:04:08 2009 Free memory: 1282980 bytes (33%) Used memory: 2602216 bytes (67%) ------------- ---------------- Total memory: 3885196.00 bytes (100%) <!-- DEVMON to RRD Physical 67% --> Devmon version 0.3.1-beta1 running on callisto If I do a telnet to the xymon server at port 1984 and copy this data, everything displays ok: output from logging: (/var/log/devmon.log) [09-03-18@18:04:06] ---Initilizing devmon... [09-03-18@18:04:06] Verbosity level: 18 [09-03-18@18:04:06] Logging to /var/log/devmon.log [09-03-18@18:04:06] Node 0 reporting to 44.128.168.215 [09-03-18@18:04:06] Running under process id: 11811 [09-03-18@18:04:06] Entering poll loop [09-03-18@18:04:06] Starting snmp queries [09-03-18@18:04:06] Getting device status from hobbit at 44.128.168.215:1984 [09-03-18@18:04:06] Querying sw2950 for tests if_dsc,cpu,serial,if_stat,fans,if_col,memory,power,if_err,if_load [09-03-18@18:04:08] Performing test logic [09-03-18@18:04:08] Done with test logic [09-03-18@18:04:08] Sending messages to display server [09-03-18@18:04:08] Sleeping for 58 seconds. [09-03-18@18:04:10] Received signal INT, shutting down with return code 0 [09-03-18@18:04:10] Shutting down [09-03-18@18:04:10] Received signal INT, shutting down with return code 0 [09-03-18@18:04:10] Received signal INT, shutting down with return code 0 [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 [09-03-18@18:04:11] Received signal INT, shutting down with return code 0 My interpretation is that devmon doesn't try to reach, or can't reach the xymon server. But what is wrong? port, firewall, etc. is open and checks ok. Thanks for your assistance. Ge |
From: Bruce B. <boa...@sy...> - 2009-03-17 17:15:44
|
I'd like to avoid discovering all interfaces on a device, limiting to uplinks or at least to only the links that are up. How have others dealt with this? thanks Bruce Boardman Network Engineer Syracuse University |
From: Buchan M. <bg...@st...> - 2009-03-16 13:48:06
|
On Monday 16 March 2009 14:56:28 Geoff Hallford wrote: > Thanks. Forgot about the execute (duh!). I don't believe devmon was > designed to run as a normal user It was. The Mandriva package, the packages I provide for RHEL, and all my systems, have devmon running as non-root (as 'devmon'). > though, as I also can't stop the daemon as > a normal user, Which user the daemon runs as, and which user can start/stop it are different issues. > as killproc is in /sbin. I know I can move that to /bin but > I don't think that is safe. The init script may not have been tested with your distro ... on Red-Hat-style systems, killproc is a function defined in /etc/rc.d/functions, which is sourced by the init script. Newer versions of the initscripts package (e.g. RHEL5 and newer) have a killproc which works with pid files in subdirectories of /var/run, which is used correctly by devmon 0.3.1-b1 (and if not present, it uses an internal function which is basically a copy of the newer killproc) to more reliably shut devmon down when running as non-root. > Stopping Devmon: /etc/rc.d/devmon: line 28: killproc: command not found Here are some options: 1)Adjust the PATH in the init script to include /sbin 2)Submit a patch or new init script for your OS/distro 3)Use packages supplied by your OS/distro Regards, Buchan |
From: Geoff H. <geo...@gm...> - 2009-03-16 13:43:10
|
Hi Malcolm, I am running SUSE 10.0. The kill command is available to the normal users. Can you please send me your sample rc script? Mine is below and has issues obviously as a normal user. ##################### #!/bin/bash # # chkconfig: 2345 90 10 # description: An snmp data collector for the hobbit & BigBrother network # monitoring suites # processname: devmon # pidfile: /var/run/devmon/devmon.pid # config: /usr/local/devmon/devmon.cfg # source function library #. /etc/init.d/functions RETVAL=0 prog="/usr/local/devmon/devmon" start() { echo -n $"Starting Devmon: " $prog RETVAL=$? echo [ $RETVAL -eq 0 ] && touch /var/lock/subsys/devmon } stop() { echo -n $"Stopping Devmon: " killproc devmon RETVAL=$? echo [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/devmon } case "$1" in start) start ;; stop) stop ;; restart|reload) stop start ;; *) echo $"Usage: $0 {start|stop|restart|condrestart|status}" exit 1 esac exit $RETVAL ##################### Thanks. 'Nobody goes there anymore. It's too crowded.' --Yogi Berra On Mon, Mar 16, 2009 at 9:08 AM, Malcolm Hunter <mal...@gm...>wrote: > > Thanks. Forgot about the execute (duh!). I don't believe devmon was > > designed > > to run as a normal user though, as I also can't stop the daemon as a > > normal > > user, as killproc is in /sbin. I know I can move that to /bin but I don't > > think that is safe. > > > > Stopping Devmon: /etc/rc.d/devmon: line 28: killproc: command not found > > > > Any suggestions? > > You should be able to run devmon as a user - I have it running as user > "devmon". What OS are you running? For Linux, there is a Fedora-style rc > script provided which has a RUNASUSER option in it. > > Also, I've not used killproc - I mainly use kill. > > Regards, > Malcolm > -- > Technical copy-editor & proofreader > > KDE Proofreading Team > KDE British English Translation Team > > http://l10n.kde.org/team-infos.php?teamcode=en_GB > > Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: > http://www.gmx.net/de/go/multimessenger01 > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support > |
From: Malcolm H. <mal...@gm...> - 2009-03-16 13:09:05
|
> Thanks. Forgot about the execute (duh!). I don't believe devmon was > designed > to run as a normal user though, as I also can't stop the daemon as a > normal > user, as killproc is in /sbin. I know I can move that to /bin but I don't > think that is safe. > > Stopping Devmon: /etc/rc.d/devmon: line 28: killproc: command not found > > Any suggestions? You should be able to run devmon as a user - I have it running as user "devmon". What OS are you running? For Linux, there is a Fedora-style rc script provided which has a RUNASUSER option in it. Also, I've not used killproc - I mainly use kill. Regards, Malcolm -- Technical copy-editor & proofreader KDE Proofreading Team KDE British English Translation Team http://l10n.kde.org/team-infos.php?teamcode=en_GB Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01 |
From: Geoff H. <geo...@gm...> - 2009-03-16 12:56:46
|
Thanks. Forgot about the execute (duh!). I don't believe devmon was designed to run as a normal user though, as I also can't stop the daemon as a normal user, as killproc is in /sbin. I know I can move that to /bin but I don't think that is safe. Stopping Devmon: /etc/rc.d/devmon: line 28: killproc: command not found Any suggestions? Thanks. 'Nobody goes there anymore. It's too crowded.' --Yogi Berra On Mon, Mar 16, 2009 at 8:41 AM, Malcolm Hunter <mal...@gm...>wrote: > > *AS HOBBIT* > > > > hobbit@bigbrother:/var/lock> whoami > > hobbit > > > > hobbit@bigbrother:/var/lock> ls -l > > total 0 > > drwxr-xr-x 2 root root 48 2008-07-10 13:18 dmraid > > drwxrw-rw- 3 root users 208 2009-03-16 08:25 subsys > > > > hobbit@bigbrother:/var/lock> cd subsys/ > > -bash: cd: subsys/: Permission denied > > You need execute permission on subsys to be able to cd into it. Also hobbit > should be a member of the group that owns it - I recommend you change the > group to something other than "users" though. > > Regards, > Malcolm > -- > Technical copy-editor & proofreader > > KDE Proofreading Team > KDE British English Translation Team > > http://l10n.kde.org/team-infos.php?teamcode=en_GB > > Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: > http://www.gmx.net/de/go/multimessenger01 > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support > |
From: Malcolm H. <mal...@gm...> - 2009-03-16 12:41:39
|
> *AS HOBBIT* > > hobbit@bigbrother:/var/lock> whoami > hobbit > > hobbit@bigbrother:/var/lock> ls -l > total 0 > drwxr-xr-x 2 root root 48 2008-07-10 13:18 dmraid > drwxrw-rw- 3 root users 208 2009-03-16 08:25 subsys > > hobbit@bigbrother:/var/lock> cd subsys/ > -bash: cd: subsys/: Permission denied You need execute permission on subsys to be able to cd into it. Also hobbit should be a member of the group that owns it - I recommend you change the group to something other than "users" though. Regards, Malcolm -- Technical copy-editor & proofreader KDE Proofreading Team KDE British English Translation Team http://l10n.kde.org/team-infos.php?teamcode=en_GB Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01 |
From: Geoff H. <geo...@gm...> - 2009-03-16 12:34:36
|
Hi All, Is there a way to get Devmon to run as a normal user (Hobbit user)? For me, even if I change permissions on the /var/lock/subsys folders, it will not let it run as a normal user. I get the following error: touch: cannot touch `/var/lock/subsys/devmon': Permission denied Reason I want this is so when Devmon goes purple, I can have hobbit (as the hobbit user with group users), run the command to restart the daemon automatically instead of scheduling restart cron jobs. Thanks. Geoff Hallford ################################## Permissions: *AS ROOT* bigbrother:/var/lock # whoami root bigbrother:/var/lock # ls -l total 0 drwxrwxr-t 4 root uucp 96 Mar 9 09:13 . drwxr-xr-x 16 root root 408 Mar 9 08:45 .. drwxr-xr-x 2 root root 48 Jul 10 2008 dmraid drwxrw-rw- 3 root users 208 Mar 16 08:25 subsys bigbrother:/var/lock # cd subsys/ bigbrother:/var/lock/subsys # ls -l total 0 drwxrw-rw- 3 root users 208 Mar 16 08:25 . drwxrwxr-t 4 root uucp 96 Mar 9 09:13 .. -rwxrw-rw- 1 root users 0 Mar 15 09:15 sec.pl -rwxrw-rw- 1 root users 0 Oct 23 14:00 smbfs -rwxrw-rw- 1 root users 0 Mar 15 09:15 snmptrapd -rwxrw-rw- 1 root users 0 Mar 15 09:15 snmptt drwxrw-rw- 2 root users 48 Sep 9 2005 sysconfig *AS HOBBIT* hobbit@bigbrother:/var/lock> whoami hobbit hobbit@bigbrother:/var/lock> ls -l total 0 drwxr-xr-x 2 root root 48 2008-07-10 13:18 dmraid drwxrw-rw- 3 root users 208 2009-03-16 08:25 subsys hobbit@bigbrother:/var/lock> cd subsys/ -bash: cd: subsys/: Permission denied hobbit@bigbrother:/var/lock> ls -l subsys/ /bin/ls: subsys/smbfs: Permission denied /bin/ls: subsys/sysconfig: Permission denied /bin/ls: subsys/sec.pl: Permission denied /bin/ls: subsys/snmptt: Permission denied /bin/ls: subsys/snmptrapd: Permission denied total 0 |