> Date: Fri, 9 Mar 2012 07:12:32 +1100 > From: csm...@enc.com.au > > 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. >
This is a fresh install and is the first host being added (localhost, monitor the monitoring box..) > > 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? Yes that's the one. > > 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" Line 21 of what file? poller.php? > > 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. Is this a bug or a miss configuration? Thanks for your help Craig. > > 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 ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ jffnms-users mailing list jffnms-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jffnms-users