[Nagios-users] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration

2011-07-02 Thread Radu . Popa
Hello again, Can you please give some guidelines how to customize the PNP4Nagios background page? I have tried using the $conf['graph_opt'] = --watermark 'Test' option, but it does not take it. Also modifications done on the background.pdf file are not updated. Already restarted apache and

Re: [Nagios-users] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration

2011-07-02 Thread Jim Avery
On 2 July 2011 07:36, radu.p...@technomatic.de wrote: Hello again, Can you please give some guidelines how to customize the PNP4Nagios background page? I have tried using the $conf['graph_opt'] = --watermark 'Test' option, but it does not take it. Also modifications done on the

Re: [Nagios-users] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration

2011-07-02 Thread Joerg Linge
radu.p...@technomatic.de schrieb: Hello again, Can you please give some guidelines how to customize the PNP4Nagios background page? I have tried using the $conf['graph_opt'] = --watermark 'Test' option, but it does not take it. Also modifications done on the background.pdf file are not

[Nagios-users] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration

2011-07-02 Thread Radu . Popa
I have managed to put the text into the graphs ( watermark) by adding the option directly into the respective php file ( e.g. check_snmp_int.php). All the php files seem to have already an $opt[1] line which overrides the general options. I am still stucked with the PDF background file

[Nagios-users] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration

2011-07-02 Thread Radu . Popa
PNP version is 0.6.13 and you are totally right about the config_local.php file. Modified in that one and I see it in all graphs. The only opened issue for now is the pdf background file. Thanks a lot! Which pnp4nagios version

Re: [Nagios-users] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration

2011-07-02 Thread Joerg Linge
radu.p...@technomatic.de schrieb: I have managed to put the text into the graphs ( watermark) by adding the option directly into the respective php file ( e.g. check_snmp_int.php). All the php files seem to have already an $opt[1] line which overrides the general options. I am still stucked

[Nagios-users] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration

2011-07-02 Thread Radu . Popa
What I am trying to achieve is now modifying a bit the pdf generated page ( add an additional logo, put some text, aso). Saw that the background page is called background.pdf, so I have modified that, but when generating PDF I still see the original background page, not the modified one.

Re: [Nagios-users] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration

2011-07-02 Thread Joerg Linge
radu.p...@technomatic.de schrieb: What I am trying to achieve is now modifying a bit the pdf generated page ( add an additional logo, put some text, aso). Saw that the background page is called background.pdf, so I have modified that, but when generating PDF I still see the original

[Nagios-users] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration

2011-07-02 Thread Radu . Popa
Yes, that's the one. Inside my config_local.php I have the line already put: # # Use this file as PDF background. # $conf['background_pdf'] = '/usr/local/pnp4nagios/etc/background.pdf' ; I downloaded the pdf file via scp and double checked to confirm it's the modified one. The rights on the

[Nagios-users] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration

2011-07-02 Thread Radu . Popa
Damn, was all the time in front of me: the picture inserted was a stamp, so obviously that the PNP would not use it. Added as a normal picture and appeared immediately. Sorry for keeping you busy :( Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum:

Re: [Nagios-users] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration

2011-07-02 Thread Joerg Linge
radu.p...@technomatic.de schrieb: Yes, that's the one. Inside my config_local.php I have the line already put: # # Use this file as PDF background. # $conf['background_pdf'] = '/usr/local/pnp4nagios/etc/background.pdf' ; I downloaded the pdf file via scp and double checked to confirm

[Nagios-users] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration

2011-06-29 Thread Radu . Popa
Ok, Here is what I got so far: 1. If I run the command: ./check_snmp_int.pl -H 192.168.2.1 -C public -2 -n GigabitEthernet0/24 -fY -kqB -g -w 60,60,100,100,10,10 -c 80,80,200,200,20,20 -d 5 , I get the following output: GigabitEthernet0/24:UP

[Nagios-users] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration

2011-06-29 Thread Radu . Popa
Was a typo error of the community string, after putting public instead of Public everything looks cool. Still 1 question: If I try to query interface GigabitEthernet0/2 I get the response: GigabitEthernet0/21:DOWN, GigabitEthernet0/23:DOWN, GigabitEthernet0/24:UP No usable data on file (40

Re: [Nagios-users] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration

2011-06-29 Thread Jim Avery
On 29 June 2011 11:45, radu.p...@technomatic.de wrote: Was a typo error of the community string, after putting public instead of Public everything looks cool. Still 1 question: If I try to query interface GigabitEthernet0/2 I get the response: GigabitEthernet0/21:DOWN,

[Nagios-users] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration

2011-06-29 Thread Radu . Popa
After adding the -r option it works like a charm! Now in pnp4nagios I can see both values on the same graph: bytes in and bytes out. I see them as two thin lines. Any way to make the lines thicker and change their colour? Von:Radu Popa/Technomatic An:

Re: [Nagios-users] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration

2011-06-29 Thread Joerg Linge
radu.p...@technomatic.de schrieb: After adding the -r option it works like a charm! Now in pnp4nagios I can see both values on the same graph: bytes in and bytes out. I see them as two thin lines. Any way to make the lines thicker and change their colour? it depends on the pnp4nagios

Re: [Nagios-users] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration

2011-06-29 Thread Jim Avery
On 29 June 2011 13:23, radu.p...@technomatic.de wrote: After adding the -r option it works like a charm! Now in pnp4nagios I can see both values on the same graph: bytes in and bytes out. I see them as two thin lines. Any way to make the lines thicker and change their colour? Well done.