Announcement

Collapse
No announcement yet.

Error: **ePN /usr/local/nagios/libexec//check_graph_traffi

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error: **ePN /usr/local/nagios/libexec//check_graph_traffi

    Hi,

    From the command line I can get the check_graph_traffic output:
    # /usr/local/nagios/libexec/check_graph_traffic.pl -H 192.168.1.1 -C public
    Traffic In : 1002.52 kB/s (1.0%), Out : 170.60 kB/s (0.2%) - Total RX Bytes In : 2.70 GB, Out : 2.95 GB|traffic_in=1026581.36B/s traffic_out=174694.09B/s

    But I can not get the graph…. It shows me this error message:
    **ePN /usr/local/nagios/libexec//check_graph_traffic.pl: "Option S requires an argument".


    What can I do to remove this error??
    As I know the oreon create this Oreon Service Id by itself & no need to specify it..
    I add arguments to the service & by mistake the oreon tought that this is for creating this file, now I removed it & restart oreon but it still creating this file (80.rrd):
    # ls -l /usr/local/oreon/rrd/
    total 3508
    -rw-r--r-- 1 root root 416120 Aug 16 14:26 1.rrd
    -rw-rw-r-- 1 nagios nagios 208288 Aug 20 17:17 1_2.rrd
    -rw-rw-r-- 1 nagios nagios 416120 Aug 20 08:50 1_3.rrd
    -rw-rw-r-- 1 nagios nagios 416120 Aug 20 13:58 1_5.rrd
    -rw-rw-r-- 1 nagios nagios 416120 Aug 12 12:25 1_6.rrd
    -rw-rw-r-- 1 nagios nagios 416120 Aug 12 12:25 1_7.rrd
    -rw-rw-r-- 1 nagios nagios 416120 Aug 12 12:24 1_8.rrd
    -rw-rw-r-- 1 nagios nagios 416120 Jul 10 12:50 3_1.rrd
    -rw-rw-r-- 1 nagios nagios 208288 Aug 20 17:18 3_2.rrd
    -rw-rw-r-- 1 nagios nagios 208288 Aug 20 17:16 80.rrd

    Is this normal??!!!.. & if not how can I stop this effect???!!!
    :cry:

  • #2
    search in forum, it's a problem with epn i think

    verify the script if it miss some "my" declaration :idea:
    Intel(R) Xeon(TM) CPU 3.4GHz - MemTotal : 1034476 kB
    Centreon 2.4.1 - Nagios 3.2.1 - Nagios Plugins 1.4.15 - Manubulon Plugins tuné
    Fedora Core 5 - 2.6.20-1.2320

    Comment


    • #3
      i had the same problem
      and i just add the arg -S 5_3 (for instance) in my service configuration

      5_3.rrd will be your rrd file
      sometimes 5_3.rrd is created automaticaly
      but sometimes (like in your case) oreon ask you to precise the file name
      marion

      Comment


      • #4
        Thanks mdurand, this works great, but don't know why they says on the forum we don't have to specify an argument after for -S.
        Centreon Enterprise Server 3
        Centreon 3

        Comment


        • #5
          In the commande definition, you have to delete "-g -S $ARG$"

          It's explain here !!!
          http://wiki.oreon-project.org/index....reon-1.4.1_%3F

          * IMPORTANT

          In this new release, we don't manage anymore graphs plugins storage, so your check_graph_* plugins will not work anymore (Problem with -S arg will occur...)

          Please modify the commands using those plugins by using now check_centreon_* plugins.

          For example :

          command "check_graph_ping" => "$USER1$/check_ graph_ping .pl ... -g -S $ARGn$ "

          can became "check_graph_ping" => "$USER1$/check_centreon_ping ..."

          or "check_centreon_ping" => "$USER1$/check_centreon_ping ..."
          Romain Le Merlus
          Centreon Forge
          MERETHIS

          Comment


          • #6
            Oups sorry, i didn't saw it :-)

            Sometimes, it's not very easy nagios
            Centreon Enterprise Server 3
            Centreon 3

            Comment

            Working...
            X