On Thu, Mar 08, 2012 at 01:57:03PM +0000, la Bigmac wrote: > I can add new hosts to jffnms, and graphs get created and > populated with data for say disk space or network traffic. But if I try and > poll a service it get marked as down. Seems to do it for all services I want > to First thing, did it work before or is this something new you have tried.
> app_status,current_instances(sshd): not running -> multi_buffer(): 1 (time > P: 36.06 | B: 0.03) Is this the one you are talking about? It snmpwalks .1.3.6.1.2.1.25.4.2.1.2 I get output like on the command line HOST-RESOURCES-MIB::hrSWRunName.4758 = STRING: "sshd" So it compares what it gets with "sshd" and if it finds it its a match. It then counts them, 0 means not running. If you want to see what it has got, you can pu debug($Apps[$host_id]['raw']); on line 21 which is after $instanaces=0 but before the "for" You should see a sshd in that list, though the debug for child processes is a little painful; I'm going to fix that soon. app_status is a bit like ps ax | grep sshd - Craig -- Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ jffnms-users mailing list jffnms-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jffnms-users