From: Robert B. <rob...@gm...> - 2006-06-03 19:13:20
|
All I have Nagios 2.3.1 running and monitoring. I have attempted to install perfparse 106.1. but I am facing more frustration than getting this thing to work. I have followed the directions for pipe version at http://perfparse.sourceforge.net/docs.php which did not work, i also followed the steps at http://wiki.perfparse.org/tiki-index.php?page=Example%20for%20configuration%20with%20a%20pipe but things are not working. When I go to my perfparse screen http://<URL>/nagios/cgi-bin/perfparse.cgi?all_bin=1 There is no data present. Going to http://<URL>/nagios/cgi-bin/perfparse.cgi?select_metric=1&host_name=SERVERNAME. produces nothing. Going to http://155.64.84.31/nagios/cgi-bin/perfparse.cgi?all_raw=1 produces SERVERNAME HTTP UP 2006-06-03 11:15:54 $ All Summary NRPE-check_load UP 2006-06-03 11:15:54 $ All Summary NRPE-Check_mem_free UP 2006-06-03 11:16:24 $ All Summary NRPE-check_mpstat UP 2006-06-03 11:16:24 $ All Summ the file /usr/local/nagios/var/perfdata-service.log has the same data 1149361852 ussj-pubwebpdcl02 NRPE-check_zombie_procs $ OK $ I am lost as to how make this work correctly - Anyone out there able to help? TIA Robert |
From: Florian G. <fl...@bi...> - 2006-06-03 20:40:14
|
Hi, First make sure that your nagios checks return performance data. You can check that usually if you execute the checkcommands by hand and watch the output. Example: ./check_users -w 10 -c 20 USERS OK - 4 users currently logged in |users=4;10;20;0 The performance data are the ones that are behind the pipe (|). Next: In nagios 2 the $OUTPUT$ uand $PERFDATA$ makros have been changed to $SERVICEOUTPUT$ and $SERVICEPERFDATA$. Check that you have the new ones in your perfdata-commands. Documentation has to be updated in that case. Hope this helps. Flo Robert Binz schrieb: > All > > I have Nagios 2.3.1 running and monitoring. I have attempted to > install perfparse 106.1. but I am facing more frustration than getting > this thing to work. > > I have followed the directions for pipe version at > http://perfparse.sourceforge.net/docs.php which did not work, i also > followed the steps at > http://wiki.perfparse.org/tiki-index.php?page=Example%20for%20configuration%20with%20a%20pipe > but things are not working. > > When I go to my perfparse screen > http://<URL>/nagios/cgi-bin/perfparse.cgi?all_bin=1 > There is no data present. Going to > http://<URL>/nagios/cgi-bin/perfparse.cgi?select_metric=1&host_name=SERVERNAME. > produces nothing. > > Going to http://155.64.84.31/nagios/cgi-bin/perfparse.cgi?all_raw=1 > produces > SERVERNAME HTTP UP 2006-06-03 11:15:54 $ All Summary > NRPE-check_load UP 2006-06-03 11:15:54 > $ All Summary > NRPE-Check_mem_free UP 2006-06-03 > 11:16:24 $ All Summary > NRPE-check_mpstat UP 2006-06-03 > 11:16:24 $ All Summ > > the file /usr/local/nagios/var/perfdata-service.log has the same data > 1149361852 ussj-pubwebpdcl02 NRPE-check_zombie_procs $ > OK $ > > I am lost as to how make this work correctly - Anyone out there able to help? > > TIA > Robert > > > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users |
From: Florian G. <fl...@bi...> - 2006-06-06 10:35:46
|
Simply: This is a bug. Unfortunately i did not encounter this bug because my test-installation had a incomplete 106.1. I'll try to hunt it down as soon as i have more time. Expect 1-3 days. Flo Robert Binz wrote: > Flo - > Thank you for the time on this. > Yes, I did make sure the plugins were producing the desired output. > Your suggested VERAIBLE change was the fix for getting data to be > collected correctly now. > > localhost Current Load UP 2006-06-05 10:36:48 OK > - load > average: 0.13, 0.07, 0.17 All Summary > Current Users UP 2006-06-05 10:37:19 > USERS OK > - 1 users currently logged in All Summary > Disk Partition - / UP 2006-06-05 > 10:37:58 DISK > OK - free space: / 1760 MB (87% inode=91%): All Summary > Disk Partition - /home UP 2006-06-05 > 10:38:28 > DISK OK - free space: /home 13191 MB (98% inode=100%): All > Summary > > What I am trying to figure out now is how to get graphs working. > When I go to http://<URL>/nagios/cgi-bin/perfparse.cgi?all_bin=1 the > Host/Title/Graph/Metric ... are listed. I select any of the graph > buttons (for example localhost, current load) and all I get is a blank > screen. > Any suggestions would deeply be appreciated. > > Again, many thanks for the help so far! > > Robert > > > On 6/3/06, Florian Gleixner <fl...@bi...> wrote: > >> Hi, >> >> First make sure that your nagios checks return performance data. You can >> check that usually if you execute the checkcommands by hand and watch >> the output. Example: >> >> ./check_users -w 10 -c 20 >> USERS OK - 4 users currently logged in |users=4;10;20;0 >> >> The performance data are the ones that are behind the pipe (|). >> >> Next: In nagios 2 the $OUTPUT$ uand $PERFDATA$ makros have been changed >> to $SERVICEOUTPUT$ and $SERVICEPERFDATA$. Check that you have the new >> ones in your perfdata-commands. Documentation has to be updated in that >> case. >> >> Hope this helps. >> >> Flo >> >> Robert Binz schrieb: >> > All >> > >> > I have Nagios 2.3.1 running and monitoring. I have attempted to >> > install perfparse 106.1. but I am facing more frustration than getting >> > this thing to work. >> > >> > I have followed the directions for pipe version at >> > http://perfparse.sourceforge.net/docs.php which did not work, i also >> > followed the steps at >> > >> http://wiki.perfparse.org/tiki-index.php?page=Example%20for%20configuration%20with%20a%20pipe >> >> > but things are not working. >> > >> > When I go to my perfparse screen >> > http://<URL>/nagios/cgi-bin/perfparse.cgi?all_bin=1 >> > There is no data present. Going to >> > >> http://<URL>/nagios/cgi-bin/perfparse.cgi?select_metric=1&host_name=SERVERNAME. >> >> > produces nothing. >> > >> > Going to http://155.64.84.31/nagios/cgi-bin/perfparse.cgi?all_raw=1 >> > produces >> > SERVERNAME HTTP UP 2006-06-03 11:15:54 $ >> All Summary >> > NRPE-check_load UP 2006-06-03 >> 11:15:54 >> > $ All Summary >> > NRPE-Check_mem_free UP >> 2006-06-03 >> > 11:16:24 $ All Summary >> > NRPE-check_mpstat UP >> 2006-06-03 >> > 11:16:24 $ All Summ >> > >> > the file /usr/local/nagios/var/perfdata-service.log has the same data >> > 1149361852 ussj-pubwebpdcl02 NRPE-check_zombie_procs $ >> > OK $ >> > >> > I am lost as to how make this work correctly - Anyone out there able >> to help? >> > >> > TIA >> > Robert >> > >> > >> > _______________________________________________ >> > Perfparse-users mailing list >> > Per...@li... >> > https://lists.sourceforge.net/lists/listinfo/perfparse-users >> |