xlancealot
2012-03-01 15:12:00 UTC
xlancealot [http://community.zenoss.org/people/xlancealot] created the discussion
"Graph results of a shell script"
To view the discussion, visit: http://community.zenoss.org/message/64883#64883
--------------------------------------------------------------
Guess that explains it :)     I have the mysql tools installed getting a lot of info, but don't have the connection / thread count. Grants are allowed for zenoss, so on that box I would like the folllowing;
Create a graph and simply use the command; mysqladmin -h $server processlist |grep -v 'show processlist' | wc -l
That will return the value, and just go from there.  I'm not sure on the variable, but I can find that, it's something like $manageIP or something but the above is the most important.
Tnx
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64883#64883]
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]
"Graph results of a shell script"
To view the discussion, visit: http://community.zenoss.org/message/64883#64883
--------------------------------------------------------------
Guess that explains it :)     I have the mysql tools installed getting a lot of info, but don't have the connection / thread count. Grants are allowed for zenoss, so on that box I would like the folllowing;
Create a graph and simply use the command; mysqladmin -h $server processlist |grep -v 'show processlist' | wc -l
That will return the value, and just go from there.  I'm not sure on the variable, but I can find that, it's something like $manageIP or something but the above is the most important.
Tnx
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64883#64883]
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]