Discussion:
Monitor files in a directory
paul
2011-12-09 15:10:51 UTC
Permalink
paul [http://community.zenoss.org/people/paul] created the discussion

"Re: Monitor files in a directory"

To view the discussion, visit: http://community.zenoss.org/message/63180#63180

--------------------------------------------------------------
Got this to work by using single backslash (which then gets escaped during the wmi query) e.g. :-

SELECT FileSize FROM CIM_DataFile WHERE Drive="I:" AND Path="\exchsrvr\sg2\London\"
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/63180#63180]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Lumskekonig
2012-11-22 11:27:02 UTC
Permalink
Lumskekonig [http://community.zenoss.org/people/Lumskekonig] created the discussion

"Re: Monitor files in a directory"

To view the discussion, visit: http://community.zenoss.org/message/70091#70091

--------------------------------------------------------------
Any chance of doing this in Zenoss 4.2, since the move to winperf?

Best Regards
Lumskekonig
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70091#70091]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Lumskekonig
2012-12-15 14:11:34 UTC
Permalink
Lumskekonig [http://community.zenoss.org/people/Lumskekonig] created the discussion

"Re: Monitor files in a directory"

To view the discussion, visit: http://community.zenoss.org/message/70562#70562

--------------------------------------------------------------
Hi Egor.

Know this is an old post.
But how to make the FileSize_sum take the sum of the files, both my datapoints (FileSize_sum and FileSize_count) returns the size of each dll file in the folder, like the image below:

Loading Image... Loading Image...

Thanks in advance and best regards.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70562#70562]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
bigegor
2012-12-17 18:58:54 UTC
Permalink
bigegor [http://community.zenoss.org/people/bigegor] created the discussion

"Re: Monitor files in a directory"

To view the discussion, visit: http://community.zenoss.org/message/70580#70580

--------------------------------------------------------------
Hi,

add data point alias 'FileSize' to both your data points.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70580#70580]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Lumskekonig
2012-12-17 20:57:57 UTC
Permalink
Lumskekonig [http://community.zenoss.org/people/Lumskekonig] created the discussion

"Re: Monitor files in a directory"

To view the discussion, visit: http://community.zenoss.org/message/70588#70588

--------------------------------------------------------------
Hi Egor.

I've already added the Alias to the Datapoints. It just list the files as
you can see on the ss.

Thanks in advance
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70588#70588]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
bigegor
2012-12-18 22:22:33 UTC
Permalink
bigegor [http://community.zenoss.org/people/bigegor] created the discussion

"Re: Monitor files in a directory"

To view the discussion, visit: http://community.zenoss.org/message/70639#70639

--------------------------------------------------------------
Hi,
zenperfsql run -v10 -d yourservername
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70639#70639]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Lumskekonig
2012-12-19 19:09:36 UTC
Permalink
Lumskekonig [http://community.zenoss.org/people/Lumskekonig] created the discussion

"Re: Monitor files in a directory"

To view the discussion, visit: http://community.zenoss.org/message/70643#70643

--------------------------------------------------------------
It just keeps running in loops when i run the:

zenperfsql run -v10 -d yourservername

It just keep returning the following:
Loading Image... Loading Image...

It let it run for almost 10 minutes? have you ever seen that before?

Thank you in advance
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70643#70643]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
bigegor
2012-12-19 20:31:30 UTC
Permalink
bigegor [http://community.zenoss.org/people/bigegor] created the discussion

"Re: Monitor files in a directory"

To view the discussion, visit: http://community.zenoss.org/message/70644#70644

--------------------------------------------------------------
are you aware how many dll files in c:\windows\system32 directory? Does that make any sense?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70644#70644]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Lumskekonig
2012-12-19 21:08:13 UTC
Permalink
Lumskekonig [http://community.zenoss.org/people/Lumskekonig] created the discussion

"Re: Monitor files in a directory"

To view the discussion, visit: http://community.zenoss.org/message/70645#70645

--------------------------------------------------------------
Have just tried with a test folder containing 20 .msilog files, and it does the same thing, just loops for about 10-15 minutes.

Can't figure out why it keeps doint that
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70645#70645]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Lumskekonig
2012-12-19 21:19:23 UTC
Permalink
Lumskekonig [http://community.zenoss.org/people/Lumskekonig] created the discussion

"Re: Monitor files in a directory"

To view the discussion, visit: http://community.zenoss.org/message/70661#70661

--------------------------------------------------------------
Finally got some out of it:
I seems that i cant return the correct data? because of a time error???

Loading Image... Loading Image...
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70661#70661]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...