Hello List I am having an issue with parsing data for nagios graph and it's driving me up the wall . Here is why : from the nagiosgraph log :
Tue May 26 16:21:30 2009 insert.pl debug - processdata data = [ '1243351278', knob', 'Page file use', 'Paging file usage is 0.84 %', 'Paging file usage is %.2f %%=0.836426%;80.000000;90.000000; ' ]; Tue May 26 16:21:30 2009 insert.pl warn - perfdata not recognized: date||host||desc||out||data for: servicedescr:Page file use output:Paging file usage is 0.84 % perfdata:Paging file usage is %.2f %%=0.836426%;80.000000;90.000000; the definition in the map file : # Service type: ntcount # check command: check_nt -H $HOSTADDRESS$ -t 20 -p 1248 -v COUNTER -l $ARG1$ -w $ARG2$ -c $ARG3$ # output:Paging file usage is 53.07 % # perfdata:'Paging file usage is %.2f %%=2.074550%;20.000000;90.000000; /prefdata:.*Paging file usage is %.2f %%=(\d+)%;(\d+);(\d+);/ #/output: Paging file usage is (\d+)/ and push @s, [ page, [ used , GAUGE, $1 ] ]; yet - as you can understand the graph is not created . I have manged to get other prefdata of thread count to work , but any attempt i did on this one comes out negative. I know that since i am staring at this for along while i am probably missing something , can you guys help me ? Thanks -- Assaf Flatto SSP Ops Team Linux System Administrator IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null